components/ntp/Makefile
branchs11u3-sru
changeset 6563 73ec673adbc1
parent 5422 caa00be8185e
child 6565 b587f1e64418
--- a/components/ntp/Makefile	Thu Aug 04 09:30:27 2016 -0700
+++ b/components/ntp/Makefile	Fri Jul 29 12:35:09 2016 -0700
@@ -52,8 +52,10 @@
 
 CFLAGS +=	$(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 
+CONFIGURE_BINDIR.64 = /usr/sbin
+CONFIGURE_SBINDIR.64 = /usr/sbin
+
 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
-CONFIGURE_OPTIONS +=	--bindir=/usr/sbin
 CONFIGURE_OPTIONS +=	--with-binsubdir=sbin
 CONFIGURE_OPTIONS +=	--libexecdir=/usr/lib/inet
 CONFIGURE_OPTIONS +=	--sysconfdir=/etc/inet
@@ -64,11 +66,12 @@
 CONFIGURE_OPTIONS +=	--enable-parse-clocks
 CONFIGURE_OPTIONS +=	--enable-ignore-dns-errors
 CONFIGURE_OPTIONS +=	--without-ntpsnmpd
-CONFIGURE_OPTIONS +=	--with-openssl-libdir=/lib
-
+CONFIGURE_OPTIONS +=	--with-openssl-libdir=$(LIBDIR)/$(MACH64)
 
-build:		$(BUILD_32)
-install:	$(INSTALL_32)
+configure:	$(CONFIGURE_64)
+
+build:		$(BUILD_64)
+install:	$(INSTALL_64)
 test:		$(NO_TESTS)
 
 REQUIRED_PACKAGES += library/libedit