diff options
author | tnn <tnn> | 2009-09-08 08:40:26 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-09-08 08:40:26 +0000 |
commit | 8fa1981414854bf0e68e9669aca763457fe12ecc (patch) | |
tree | 0698f96c6eb6bc8aa281ae9f776db03a386a55a8 /net | |
parent | ebe7b84eb021592793c3cda2142afbf2a70f7244 (diff) | |
download | pkgsrc-8fa1981414854bf0e68e9669aca763457fe12ecc.tar.gz |
make net/ntp4 properly IPv6 aware
Diffstat (limited to 'net')
-rw-r--r-- | net/ntp4/Makefile | 4 | ||||
-rw-r--r-- | net/ntp4/options.mk | 16 |
2 files changed, 19 insertions, 1 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile index 6aa91d8799c..ed8761dfc95 100644 --- a/net/ntp4/Makefile +++ b/net/ntp4/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.61 2009/09/06 11:13:50 tnn Exp $ +# $NetBSD: Makefile,v 1.62 2009/09/08 08:40:26 tnn Exp $ # DISTNAME= ntp-4.2.4p7 +PKGREVISION= 1 CATEGORIES= net time MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ ftp://ftp.udel.edu/pub/ntp/ntp4/ @@ -36,6 +37,7 @@ post-install: ${FIND} ${ALL_NTP_DOCS} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} .include "../../mk/bsd.prefs.mk" +.include "options.mk" PLIST_VARS+= ntptime tickadj timetrim diff --git a/net/ntp4/options.mk b/net/ntp4/options.mk new file mode 100644 index 00000000000..c14449f1951 --- /dev/null +++ b/net/ntp4/options.mk @@ -0,0 +1,16 @@ +# $NetBSD: options.mk,v 1.1 2009/09/08 08:40:26 tnn Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ntp4 +PKG_SUPPORTED_OPTIONS= inet6 + +.if empty(MISSING_FEATURES:Minet6) +PKG_SUGGESTED_OPTIONS+= inet6 +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |