diff options
author | marcus <marcus@FreeBSD.org> | 2006-07-10 10:04:07 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-07-10 10:04:07 +0800 |
commit | 86a3055aee09a5d71a2fc8ae2e7a11f6c11a1fab (patch) | |
tree | 2dc623bede6a904ab000f65102f28883a91deb85 /graphics/poppler | |
parent | 24c50a9bf6c876a9de383e78a178930611801f7c (diff) | |
download | freebsd-ports-gnome-86a3055aee09a5d71a2fc8ae2e7a11f6c11a1fab.tar.gz freebsd-ports-gnome-86a3055aee09a5d71a2fc8ae2e7a11f6c11a1fab.tar.zst freebsd-ports-gnome-86a3055aee09a5d71a2fc8ae2e7a11f6c11a1fab.zip |
Make the cairo output backend optional (defaults to enabled). Turning this
off can help performance when rendering certain PDF documents, especially
those that contain Type 3 fonts.
Reported by: Veiko Palge <veiko.palge@gmail.com>
Diffstat (limited to 'graphics/poppler')
-rw-r--r-- | graphics/poppler/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index 1a1191b80c32..d69896782934 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -28,6 +28,10 @@ CONFIGURE_ARGS= --enable-zlib \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" +.if !defined(SLAVEPORT) +OPTIONS= CAIRO "Enable cairo output backend" on +.endif + .include <bsd.port.pre.mk> .if defined(SLAVEPORT) @@ -55,6 +59,9 @@ MAN1= pdffonts.1 pdfimages.1 pdfinfo.1 \ .else CONFIGURE_ARGS+=--disable-poppler-glib --disable-poppler-qt \ --disable-poppler-qt4 --disable-utils +.if defined(WITHOUT_CAIRO) +CONFIGURE_ARGS+= --disable-cairo-output +.endif .endif post-patch: |