svn commit: r392955 - head/Mk/Uses

Hiroki Sato hrs at FreeBSD.org
Mon Jul 27 04:13:30 UTC 2015


Author: hrs
Date: Mon Jul 27 04:13:29 2015
New Revision: 392955
URL: https://svnweb.freebsd.org/changeset/ports/392955

Log:
  Fix the case when X11 option is defined and not specified in the parent port.
  
  PR:	201864

Modified:
  head/Mk/Uses/ghostscript.mk

Modified: head/Mk/Uses/ghostscript.mk
==============================================================================
--- head/Mk/Uses/ghostscript.mk	Mon Jul 27 02:52:57 2015	(r392954)
+++ head/Mk/Uses/ghostscript.mk	Mon Jul 27 04:13:29 2015	(r392955)
@@ -87,7 +87,9 @@ IGNORE?=	Invalid ghostscript argument or
 # dependencies
 _GS_PORT=	ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}
 
-.if ${_GS_ARGS:Mnox11}
+.if ${_GS_ARGS:Mnox11} || \
+    (defined(OPTIONS_DEFINE) && defined(PORT_OPTIONS) && \
+     ${OPTIONS_DEFINE:MX11} && !${PORT_OPTIONS:MX11})
 DEPENDS_ARGS+=	print_${_GS_PORT}_UNSET_FORCE+=X11
 .endif
 


More information about the svn-ports-head mailing list