From 02b4f569f130bae06820b4290673e80c200848cf Mon Sep 17 00:00:00 2001 From: hrs Date: Mon, 27 Jul 2015 05:45:39 +0000 Subject: Use -nox11-suffixed ports instead of DEPENDS_ARGS. --- Mk/Uses/ghostscript.mk | 7 +++++-- 1 file 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) -- cgit v1.1