Remove bundled CUPS in post-patch so its headers cannot be included.

This fixes the powerpc64 build.

PR:		231549
Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Tijl Coosemans 2018-09-22 13:01:38 +00:00
parent f66fa0d7d0
commit 5fa2a669f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480382

View File

@ -2,6 +2,7 @@
PORTNAME= ghostscript
PORTVERSION= 9.25
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
PKGNAMESUFFIX= 9-agpl-base
@ -66,9 +67,9 @@ IJS_DESC= Support libijs based Ghostscript devices
IJS_LIB_DEPENDS= libijs.so:print/libijs
post-patch:
@${RM} -r ${WRKSRC}/freetype ${WRKSRC}/ijs ${WRKSRC}/jbig2dec \
${WRKSRC}/jpeg ${WRKSRC}/libpng ${WRKSRC}/openjpeg \
${WRKSRC}/zlib
@${RM} -r ${WRKSRC}/cups/libs ${WRKSRC}/freetype ${WRKSRC}/ijs \
${WRKSRC}/jbig2dec ${WRKSRC}/jpeg ${WRKSRC}/libpng \
${WRKSRC}/openjpeg ${WRKSRC}/zlib
post-install:
${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs