aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-09-24 16:31:32 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-09-24 16:31:32 +0000
commit56c9da34f19acd2434b6646bd21cf7a42510c26a (patch)
tree07f93f9dda0eba8335d8fcb298b228702f6f82a9
parente282b9b0535d03eb7a391f75b9b7638d2d6b99e3 (diff)
downloadports-56c9da34f19acd2434b6646bd21cf7a42510c26a.tar.gz
ports-56c9da34f19acd2434b6646bd21cf7a42510c26a.zip
Notes
-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