From 32d6ffafd34e4a97f32dcb9549a5a067aa083545 Mon Sep 17 00:00:00 2001 From: mezz Date: Wed, 24 Sep 2008 16:31:32 +0000 Subject: Fix the plist when cairo support is disable, bump the PORTREVISION. PR: ports/127254 Submitted by: Tobias Rehbein --- graphics/poppler/Makefile | 4 +++- graphics/poppler/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'graphics/poppler') 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 -- cgit