aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2018-09-22 13:01:38 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2018-09-22 13:01:38 +0000
commit5fa2a669f292b2a302be5771aa157fe698df15fc (patch)
tree2eda5e14ba7d57b8b7a56dc85416f222436036dc /print
parentf66fa0d7d0dd6e14f330cea409b1487d417b4d5a (diff)
downloadports-5fa2a669f292b2a302be5771aa157fe698df15fc.tar.gz
ports-5fa2a669f292b2a302be5771aa157fe698df15fc.zip
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>
Notes
Notes: svn path=/head/; revision=480382
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript9-agpl-base/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/ghostscript9-agpl-base/Makefile b/print/ghostscript9-agpl-base/Makefile
index 9c459f5016b2..4fc905d1adf4 100644
--- a/print/ghostscript9-agpl-base/Makefile
+++ b/print/ghostscript9-agpl-base/Makefile
@@ -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