summaryrefslogtreecommitdiff
path: root/net/ORBit2/Makefile
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2007-08-18 09:59:48 +0000
committerplunky <plunky@pkgsrc.org>2007-08-18 09:59:48 +0000
commitef975405dcd90a53ff74f1bb0d21f9ebebde5f07 (patch)
tree89074689a0dba3745b6540f0bf7d628489ef1c41 /net/ORBit2/Makefile
parentcac8bfb96486fb2a909450b8a21bbbd24f71c5f3 (diff)
downloadpkgsrc-ef975405dcd90a53ff74f1bb0d21f9ebebde5f07.tar.gz
take notice of the 'inet6' package option,
by default, inet6 support is built in, but it can be disabled for systems that do not have inet6 capability.
Diffstat (limited to 'net/ORBit2/Makefile')
-rw-r--r--net/ORBit2/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/net/ORBit2/Makefile b/net/ORBit2/Makefile
index 3197e5048ec..898267d8462 100644
--- a/net/ORBit2/Makefile
+++ b/net/ORBit2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2007/07/28 08:39:34 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2007/08/18 09:59:48 plunky Exp $
#
DISTNAME= ORBit2-2.14.8
@@ -25,6 +25,17 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+PKG_OPTIONS_VAR= PKG_OPTIONS.ORBit2
+PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CPPFLAGS+= -DINET6
+.endif
+
PKGCONFIG_OVERRIDE= ORBit-2.0.pc.in
PKGCONFIG_OVERRIDE+= ORBit-CosNaming-2.0.pc.in
PKGCONFIG_OVERRIDE+= ORBit-imodule-2.0.pc.in