aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/poppler
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-09-25 00:31:32 +0800
committermezz <mezz@FreeBSD.org>2008-09-25 00:31:32 +0800
commit32d6ffafd34e4a97f32dcb9549a5a067aa083545 (patch)
treeffd3bc1f9f3df2aceee66560c0ed7c1ecc1c7a15 /graphics/poppler
parentf2d9a67ba1d352498e453b797bf8379909857e6b (diff)
downloadfreebsd-ports-gnome-32d6ffafd34e4a97f32dcb9549a5a067aa083545.tar.gz
freebsd-ports-gnome-32d6ffafd34e4a97f32dcb9549a5a067aa083545.tar.zst
freebsd-ports-gnome-32d6ffafd34e4a97f32dcb9549a5a067aa083545.zip
Fix the plist when cairo support is disable, bump the PORTREVISION.
PR: ports/127254 Submitted by: Tobias Rehbein <tobias.rehbein@web.de>
Diffstat (limited to 'graphics/poppler')
-rw-r--r--graphics/poppler/Makefile4
-rw-r--r--graphics/poppler/pkg-plist2
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index 0c129010c186..cdb137f73bb7 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -8,7 +8,7 @@
PORTNAME= poppler
PORTVERSION= 0.8.7
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= graphics print
MASTER_SITES= http://poppler.freedesktop.org/
@@ -90,8 +90,10 @@ CONFIGURE_ARGS+=--disable-poppler-glib --disable-poppler-qt \
.if defined(WITHOUT_CAIRO)
CONFIGURE_ARGS+=--disable-cairo-output
+PLIST_SUB+= CAIRO="@comment "
.else
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
+PLIST_SUB+= CAIRO=""
.endif
.endif
diff --git a/graphics/poppler/pkg-plist b/graphics/poppler/pkg-plist
index fc990dc74e70..34676e685587 100644
--- a/graphics/poppler/pkg-plist
+++ b/graphics/poppler/pkg-plist
@@ -95,7 +95,7 @@ lib/libpoppler.a
lib/libpoppler.la
lib/libpoppler.so
lib/libpoppler.so.3
-libdata/pkgconfig/poppler-cairo.pc
+%%CAIRO%%libdata/pkgconfig/poppler-cairo.pc
libdata/pkgconfig/poppler-splash.pc
libdata/pkgconfig/poppler.pc
@dirrm include/poppler/splash