diff options
Diffstat (limited to 'graphics/poppler/Makefile')
-rw-r--r-- | graphics/poppler/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index f4b72e4e420c..5cde3380abc5 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -30,10 +30,8 @@ USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-zlib \ --enable-xpdf-headers \ --with-html-dir=${DOCSDIR} -CPPFLAGS=-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ${PTHREAD_CFLAGS} -LDFLAGS=-L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" +CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} .if !defined(SLAVEPORT) OPTIONS= CAIRO "Enable cairo output backend" on \ |