Catch up with ghostscript changes.

This commit is contained in:
Koop Mast 2015-07-25 09:40:34 +00:00
parent bc7bb825f5
commit f84b0c1cc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392864

View file

@ -225,7 +225,11 @@ PLIST_SUB+= TIFF="@comment "
.if ${PORT_OPTIONS:MGSLIB} .if ${PORT_OPTIONS:MGSLIB}
CONFIGURE_ARGS+= --with-gslib CONFIGURE_ARGS+= --with-gslib
USE_GHOSTSCRIPT= yes . if ${PORT_OPTIONS:MX11}
USES+= ghostscript
. else
USES+= ghostscript:nox11
. endif
.else .else
CONFIGURE_ARGS+= --without-gslib CONFIGURE_ARGS+= --without-gslib
.endif .endif
@ -358,7 +362,7 @@ PLIST_SUB+= PANGO="@comment "
# PDF (Adobe Portable Document Format) support # PDF (Adobe Portable Document Format) support
.if ${PORT_OPTIONS:MPDF} .if ${PORT_OPTIONS:MPDF}
USE_GHOSTSCRIPT= yes USES+= ghostscript
.endif .endif
.if ! ${PORT_OPTIONS:MX11} .if ! ${PORT_OPTIONS:MX11}
@ -381,7 +385,7 @@ INSTALL_TARGET= install-strip
.endif .endif
.if ${PORT_OPTIONS:MTESTS} .if ${PORT_OPTIONS:MTESTS}
USE_GHOSTSCRIPT_BUILD=yes USES+= ghostscript:build
.endif .endif
.if defined(USER) && ${USER} == kwm .if defined(USER) && ${USER} == kwm