summaryrefslogtreecommitdiff
path: root/print/poppler-qt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/poppler-qt/Makefile')
-rw-r--r--print/poppler-qt/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/print/poppler-qt/Makefile b/print/poppler-qt/Makefile
index 54570b18954..2d68e1c9f46 100644
--- a/print/poppler-qt/Makefile
+++ b/print/poppler-qt/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2011/01/13 13:39:13 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2011/07/11 10:05:22 drochner Exp $
#
.include "../../print/poppler/Makefile.common"
PKGNAME= poppler-qt-${POPPLER_VERS}
-PKGREVISION= 1
COMMENT= PDF rendering library (QT wrapper)
MAINTAINER= reed@reedmedia.net
@@ -15,7 +14,11 @@ CONFIGURE_ARGS+= --disable-splash-output
CONFIGURE_ARGS+= --enable-poppler-qt
CONFIGURE_ARGS+= --disable-gtk-test
CONFIGURE_ARGS+= --disable-utils
+.if !empty(PKG_BUILD_OPTIONS.poppler:Mpoppler-cms)
+CONFIGURE_ARGS+= --enable-cms
+.else
CONFIGURE_ARGS+= --disable-cms
+.endif
PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-qt.pc.in