diff options
author | dholland <dholland@pkgsrc.org> | 2016-05-01 19:35:09 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2016-05-01 19:35:09 +0000 |
commit | d6cd0fc59415e2052df9caea8d3c98747cddb508 (patch) | |
tree | 11a28f47e6c8c100b4768920b93aae097a7bc0de /x11 | |
parent | 9661456c52e4eeca23c3006bcc97c3ae653507a2 (diff) | |
download | pkgsrc-d6cd0fc59415e2052df9caea8d3c98747cddb508.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')
-rw-r--r-- | x11/aterm/options.mk | 11 |
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 |