svn commit: r392958 - head/Mk/Uses

Hiroki Sato hrs at FreeBSD.org
Mon Jul 27 05:45:40 UTC 2015


Author: hrs
Date: Mon Jul 27 05:45:39 2015
New Revision: 392958
URL: https://svnweb.freebsd.org/changeset/ports/392958

Log:
  Use -nox11-suffixed ports instead of DEPENDS_ARGS.

Modified:
  head/Mk/Uses/ghostscript.mk

Modified: head/Mk/Uses/ghostscript.mk
==============================================================================
--- head/Mk/Uses/ghostscript.mk	Mon Jul 27 05:41:41 2015	(r392957)
+++ head/Mk/Uses/ghostscript.mk	Mon Jul 27 05:45:39 2015	(r392958)
@@ -85,12 +85,15 @@ IGNORE?=	Invalid ghostscript argument or
 .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)


More information about the svn-ports-all mailing list