summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-07-27 05:45:39 +0000
committerhrs <hrs@FreeBSD.org>2015-07-27 05:45:39 +0000
commit02b4f569f130bae06820b4290673e80c200848cf (patch)
tree47c5cd63830f835c06ee6260e7c2bff13d839127
parent3d6cc2b10f138b7e2e4b068803bed7b885d93dc3 (diff)
downloadFreeBSD-ports-02b4f569f130bae06820b4290673e80c200848cf.zip
FreeBSD-ports-02b4f569f130bae06820b4290673e80c200848cf.tar.gz
Use -nox11-suffixed ports instead of DEPENDS_ARGS.
-rw-r--r--Mk/Uses/ghostscript.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/Uses/ghostscript.mk b/Mk/Uses/ghostscript.mk
index bc1b45c..b488a23 100644
--- a/Mk/Uses/ghostscript.mk
+++ b/Mk/Uses/ghostscript.mk
@@ -85,12 +85,15 @@ IGNORE?= Invalid ghostscript argument or GHOSTSCRIPT_DEFAULT
.endif
# dependencies
-_GS_PORT= ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}
+_GS_PORT= ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}${_GS_NOX11_SUFFIX}
+.undef _GS_NOX11_SUFFIX
.if ${_GS_ARGS:Mnox11} || \
(defined(OPTIONS_DEFINE) && defined(PORT_OPTIONS) && \
${OPTIONS_DEFINE:MX11} && ${PORT_OPTIONS:MX11} == "")
-DEPENDS_ARGS+= print_${_GS_PORT}_UNSET_FORCE+=X11
+# XXX
+#DEPENDS_ARGS+= print_${_GS_PORT}_UNSET_FORCE+=X11
+_GS_NOX11_SUFFIX= -nox11
.endif
.if defined(_GS_BUILD_DEP)
OpenPOWER on IntegriCloud