Index: graphics/poppler/Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/poppler/Makefile,v retrieving revision 1.53 diff -a -u -r1.53 Makefile --- graphics/poppler/Makefile 28 Nov 2009 20:05:44 -0000 1.53 +++ graphics/poppler/Makefile 20 Dec 2009 00:51:20 -0000 @@ -27,8 +27,10 @@ CONFIGURE_ARGS= --enable-zlib \ --enable-xpdf-headers \ --with-html-dir=${DOCSDIR} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ${PTHREAD_CFLAGS}" \ - LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +CPPFLAGS=-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ${PTHREAD_CFLAGS} +LDFLAGS=-L${LOCALBASE}/lib ${PTHREAD_LIBS} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" .if !defined(SLAVEPORT) OPTIONS= CAIRO "Enable cairo output backend" on \ @@ -70,6 +72,7 @@ # can read more PDF files than without, tested with demos's poppler_qt4viewer. #BUILD_WRKSRC= ${WRKSRC}/qt4 INSTALL_WRKSRC= ${WRKSRC}/qt4 +.include "${PORTSDIR}/Mk/bsd.qt.mk" .else CONFIGURE_ARGS+=--disable-poppler-qt4 .endif