diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-07-10 02:04:07 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-07-10 02:04:07 +0000 |
commit | 4089794160605cf6d03574e0e27ddac5416dd246 (patch) | |
tree | 79732e0d38e12c6d73b4b6215be98f72ef097edf /graphics | |
parent | Fix typo for files/tor.in. (diff) |
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')
-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: |