summaryrefslogtreecommitdiff
path: root/net/arla/options.mk
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2006-08-24 17:59:04 +0000
committerwennmach <wennmach@pkgsrc.org>2006-08-24 17:59:04 +0000
commitd2520aa1b418410322710cffcd1efa71f590ab85 (patch)
tree4bcdaffaef15b4364a0f9824e3c3f7a661c3ad39 /net/arla/options.mk
parent077de5dbe59fb0086854db2d89cb1d4ddf5fb7da (diff)
downloadpkgsrc-d2520aa1b418410322710cffcd1efa71f590ab85.tar.gz
Make the X11 components of arla an option.
Submitted by david l goodrich in PR pkg/33400.
Diffstat (limited to 'net/arla/options.mk')
-rw-r--r--net/arla/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/arla/options.mk b/net/arla/options.mk
new file mode 100644
index 00000000000..630969ec7e2
--- /dev/null
+++ b/net/arla/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2006/08/24 17:59:04 wennmach Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.arla
+PKG_SUPPORTED_OPTIONS= x11
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+CONFIGURE_ARGS+= --with-x
+PLIST_SUBST+= X11_SUPPORT=
+.include "../../mk/x11.buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-x
+PLIST_SUBST+= X11_SUPPORT='@comment '
+.endif