pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Require "inet6" option to be present.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37a96fe67ec5
branches:  trunk
changeset: 523213:37a96fe67ec5
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Jan 03 15:51:24 2007 +0000

description:
Require "inet6" option to be present.

diffstat:

 net/gethost/Makefile |  7 ++++++-
 net/mping/Makefile   |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 332c524077a8 -r 37a96fe67ec5 net/gethost/Makefile
--- a/net/gethost/Makefile      Wed Jan 03 15:34:08 2007 +0000
+++ b/net/gethost/Makefile      Wed Jan 03 15:51:24 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/12/27 17:37:27 reed Exp $
+# $NetBSD: Makefile,v 1.7 2007/01/03 15:51:24 tv Exp $
 
 DISTNAME=      gethost-0.03
 CATEGORIES=    net
@@ -16,4 +16,9 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/gethost ${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/gethost.1 ${PREFIX}/${PKGMANDIR}/man1
 
+PKG_OPTIONS_VAR=               PKG_OPTIONS.gethost
+PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability
+PKG_OPTIONS_GROUP.inet6=       inet6
+
+.include "../../mk/bsd.options.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 332c524077a8 -r 37a96fe67ec5 net/mping/Makefile
--- a/net/mping/Makefile        Wed Jan 03 15:34:08 2007 +0000
+++ b/net/mping/Makefile        Wed Jan 03 15:51:24 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/09/07 10:06:26 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2007/01/03 15:52:42 tv Exp $
 
 DISTNAME=      mping-2.01
 CATEGORIES=    net
@@ -15,4 +15,9 @@
        ${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${PREFIX}/sbin/mping
        ${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${PREFIX}/${PKGMANDIR}/man8
 
+PKG_OPTIONS_VAR=               PKG_OPTIONS.mping
+PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability
+PKG_OPTIONS_GROUP.inet6=       inet6
+
+.include "../../mk/bsd.options.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index