1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Add some more X11 / NOX11 checks around USES=ghostscript usage.

While here apply the same checks to IM7.

PR:		201993
Submitted by:	daniel@blodan.se
This commit is contained in:
Koop Mast 2015-08-02 18:13:16 +00:00
parent cc229306e6
commit df3e062a9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393436
2 changed files with 16 additions and 0 deletions

View File

@ -357,7 +357,11 @@ PLIST_SUB+= PANGO="@comment "
# PDF (Adobe Portable Document Format) support
.if ${PORT_OPTIONS:MPDF}
. if ${PORT_OPTIONS:MX11}
USES+= ghostscript
. else
USES+= ghostscript:nox11
. endif
.endif
.if ! ${PORT_OPTIONS:MX11}
@ -380,7 +384,11 @@ INSTALL_TARGET= install-strip
.endif
.if ${PORT_OPTIONS:MTESTS}
. if ${PORT_OPTIONS:MX11}
USES+= ghostscript:build
. else
USES+= ghostscript:build,nox11
. endif
.endif
post-patch:

View File

@ -363,7 +363,11 @@ PLIST_SUB+= PANGO="@comment "
# PDF (Adobe Portable Document Format) support
.if ${PORT_OPTIONS:MPDF}
. if ${PORT_OPTIONS:MX11}
USES+= ghostscript
. else
USES+= ghostscript:nox11
. endif
.endif
.if ! ${PORT_OPTIONS:MX11}
@ -386,7 +390,11 @@ INSTALL_TARGET= install-strip
.endif
.if ${PORT_OPTIONS:MTESTS}
. if ${PORT_OPTIONS:MX11}
USES+= ghostscript:build
. else
USES+= ghostscript:build,nox11
. endif
.endif
.if defined(USER) && ${USER} == kwm