pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/modular-xorg-server Add explicit option check for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cde6d1bd32ea
branches:  trunk
changeset: 535187:cde6d1bd32ea
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Nov 09 11:34:47 2007 +0000

description:
Add explicit option check for -inet6

diffstat:

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

diffs (34 lines):

diff -r 77774dfa5ef4 -r cde6d1bd32ea x11/modular-xorg-server/Makefile
--- a/x11/modular-xorg-server/Makefile  Fri Nov 09 05:45:15 2007 +0000
+++ b/x11/modular-xorg-server/Makefile  Fri Nov 09 11:34:47 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/10/30 10:56:43 shannonjr Exp $
+# $NetBSD: Makefile,v 1.22 2007/11/09 11:34:47 abs Exp $
 
 DISTNAME=      xorg-server-1.3.0.0
 PKGNAME=       modular-${DISTNAME}
@@ -67,6 +67,8 @@
        ${LN} -s ${MESA_SRC:Q}/include/GL ${WRKSRC:Q}/GL/glx/GL
 .endif
 
+.include "options.mk"
+
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../fonts/libfontenc/buildlink3.mk"
diff -r 77774dfa5ef4 -r cde6d1bd32ea x11/modular-xorg-server/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/modular-xorg-server/options.mk        Fri Nov 09 11:34:47 2007 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/11/09 11:34:47 abs Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.modular-xorg-server
+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