aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-07-27 13:45:39 +0800
committerhrs <hrs@FreeBSD.org>2015-07-27 13:45:39 +0800
commit3b2e0f358fb64a06925f464125fc61f6493a5333 (patch)
tree47c5cd63830f835c06ee6260e7c2bff13d839127 /Mk
parentb47de9079ce1bc040f92e5aeeb4228d1c1ef94e9 (diff)
downloadfreebsd-ports-gnome-3b2e0f358fb64a06925f464125fc61f6493a5333.tar.gz
freebsd-ports-gnome-3b2e0f358fb64a06925f464125fc61f6493a5333.tar.zst
freebsd-ports-gnome-3b2e0f358fb64a06925f464125fc61f6493a5333.zip
Use -nox11-suffixed ports instead of DEPENDS_ARGS.
Diffstat (limited to 'Mk')
-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 bc1b45c94276..b488a23a2657 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)