Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2015 05:45:40 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392958 - head/Mk/Uses
Message-ID:  <201507270545.t6R5je1l081455@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507270545.t6R5je1l081455>