pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ntp4 make net/ntp4 properly IPv6 aware
details: https://anonhg.NetBSD.org/pkgsrc/rev/221567ae735e
branches: trunk
changeset: 398762:221567ae735e
user: tnn <tnn%pkgsrc.org@localhost>
date: Tue Sep 08 08:40:26 2009 +0000
description:
make net/ntp4 properly IPv6 aware
diffstat:
net/ntp4/Makefile | 4 +++-
net/ntp4/options.mk | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r ed605596d250 -r 221567ae735e net/ntp4/Makefile
--- a/net/ntp4/Makefile Tue Sep 08 08:36:21 2009 +0000
+++ b/net/ntp4/Makefile Tue Sep 08 08:40:26 2009 +0000
@@ -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 @@
${FIND} ${ALL_NTP_DOCS} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
PLIST_VARS+= ntptime tickadj timetrim
diff -r ed605596d250 -r 221567ae735e net/ntp4/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ntp4/options.mk Tue Sep 08 08:40:26 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index