pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libICE Add explicit option check for -inet6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4f56f029a34
branches:  trunk
changeset: 535078:e4f56f029a34
user:      abs <abs%pkgsrc.org@localhost>
date:      Wed Nov 07 11:51:52 2007 +0000

description:
Add explicit option check for -inet6

diffstat:

 x11/libICE/Makefile   |   4 +++-
 x11/libICE/options.mk |  12 ++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 739f6f099618 -r e4f56f029a34 x11/libICE/Makefile
--- a/x11/libICE/Makefile       Wed Nov 07 11:46:22 2007 +0000
+++ b/x11/libICE/Makefile       Wed Nov 07 11:51:52 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/01/22 14:47:30 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/11/07 11:51:52 abs Exp $
 #
 
 DISTNAME=              libICE-1.0.3
@@ -19,6 +19,8 @@
 
 PKGCONFIG_OVERRIDE+=   ice.pc.in
 
+.include "options.mk"
+
 .include "../../x11/xproto/buildlink3.mk"
 .include "../../x11/xtrans/buildlink3.mk"
 
diff -r 739f6f099618 -r e4f56f029a34 x11/libICE/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libICE/options.mk     Wed Nov 07 11:51:52 2007 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/11/07 11:51:52 abs Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libICE
+PKG_SUPPORTED_OPTIONS+=        inet6
+
+.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