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:
parent
cc229306e6
commit
df3e062a9d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393436
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user