summaryrefslogtreecommitdiff
path: root/x11/aterm
diff options
context:
space:
mode:
authordholland <dholland>2016-05-01 19:35:09 +0000
committerdholland <dholland>2016-05-01 19:35:09 +0000
commitf1d040b51e6fd1483c3ff25a4050a423d87de7ba (patch)
tree11a28f47e6c8c100b4768920b93aae097a7bc0de /x11/aterm
parent9e3310910b6622f3742744a50c7a6cb90a95ecb2 (diff)
downloadpkgsrc-f1d040b51e6fd1483c3ff25a4050a423d87de7ba.tar.gz
Add optional, default-off dependency on afterstep, and disable
afterstep support if not enabled to avoid build failure if the configure script finds it. From Yakovetsky Vladimir in PR 36755.
Diffstat (limited to 'x11/aterm')
-rw-r--r--x11/aterm/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/aterm/options.mk b/x11/aterm/options.mk
index e29f2aecadb..0121aeac09d 100644
--- a/x11/aterm/options.mk
+++ b/x11/aterm/options.mk
@@ -1,10 +1,17 @@
-# $NetBSD: options.mk,v 1.2 2005/10/05 13:29:49 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2016/05/01 19:35:09 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.aterm
-PKG_SUPPORTED_OPTIONS= aterm-big5 aterm-greek aterm-kanji aterm-xterm-scroll
+PKG_SUPPORTED_OPTIONS= aterm-big5 aterm-greek aterm-kanji aterm-xterm-scroll \
+ afterstep
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mafterstep)
+.include "../../wm/afterstep/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=--without-afterimage_config --without-afterstep_config
+.endif
+
.if !empty(PKG_OPTIONS:Materm-big5)
CONFIGURE_ARGS+=--enable-big5
.endif