summaryrefslogtreecommitdiff
path: root/x11/kdebase3/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase3/options.mk')
-rw-r--r--x11/kdebase3/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11/kdebase3/options.mk b/x11/kdebase3/options.mk
index 003ed8d42cb..102faa7875c 100644
--- a/x11/kdebase3/options.mk
+++ b/x11/kdebase3/options.mk
@@ -1,11 +1,19 @@
-# $NetBSD: options.mk,v 1.2 2007/10/31 11:56:44 markd Exp $
+# $NetBSD: options.mk,v 1.3 2008/01/04 21:05:56 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase
-PKG_SUPPORTED_OPTIONS= inet6 sasl samba debug pam
+PKG_SUPPORTED_OPTIONS= inet6 sasl samba debug pam composite
PKG_SUGGESTED_OPTIONS= sasl
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mcomposite)
+CONFIGURE_ARGS+= --with-composite
+PLIST_SUBST+= HAVE_COMPOSITE=""
+.else
+CONFIGURE_ARGS+= --without-composite
+PLIST_SUBST+= HAVE_COMPOSITE="@comment "
+.endif
+
.if !empty(PKG_OPTIONS:Msamba)
.include "../../net/samba/buildlink3.mk"
LIBS+= -L${BUILDLINK_PREFIX.samba}/lib/samba ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.samba}/lib/samba