Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2015 04:13:30 +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: r392955 - head/Mk/Uses
Message-ID:  <201507270413.t6R4DUVL045385@repo.freebsd.org>

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



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