aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-07 21:33:25 +0800
committerbapt <bapt@FreeBSD.org>2014-10-07 21:33:25 +0800
commitc27e5388ca46471499c9e76118934e29325069a7 (patch)
treeae31ea9d810d341110522e8bc47471d828a799c6 /print
parent8292b68e05e78dd8587139027314f7cff54e9fdf (diff)
downloadfreebsd-ports-gnome-c27e5388ca46471499c9e76118934e29325069a7.tar.gz
freebsd-ports-gnome-c27e5388ca46471499c9e76118934e29325069a7.tar.zst
freebsd-ports-gnome-c27e5388ca46471499c9e76118934e29325069a7.zip
Remove zlib from pc files
Diffstat (limited to 'print')
-rw-r--r--print/libmspub01/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/libmspub01/Makefile b/print/libmspub01/Makefile
index acc86e7f8fd7..992fed6bef88 100644
--- a/print/libmspub01/Makefile
+++ b/print/libmspub01/Makefile
@@ -2,6 +2,7 @@
PORTNAME= libmspub
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= print graphics devel
MASTER_SITES= http://dev-www.libreoffice.org/src/${PORTNAME}/
PKGNAMESUFFIX= 01
@@ -25,4 +26,7 @@ CONFIGURE_ARGS= --disable-werror --without-docs
CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
CPPFLAGS+= -I${LOCALBASE}/include
+post-patch:
+ @${REINPLACE_CMD} -e "s,zlib,,g" ${WRKSRC}/libmspub.pc.in
+
.include <bsd.port.mk>