diff --git a/print/pdflib/Makefile.common b/print/pdflib/Makefile.common index 908fcd0e1a06..f1065566ab87 100644 --- a/print/pdflib/Makefile.common +++ b/print/pdflib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.21 2008/06/12 02:14:43 joerg Exp $ +# $NetBSD: Makefile.common,v 1.22 2011/02/08 11:11:23 adam Exp $ DISTNAME= pdflib-${PDFLIB_DIST_VERS} CATEGORIES= print @@ -19,7 +19,7 @@ DISTINFO_FILE= ${.CURDIR}/../pdflib/distinfo PATCHDIR= ${.CURDIR}/../pdflib/patches USE_LIBTOOL= YES -USE_TOOLS+= gmake +USE_TOOLS+= autoconf gmake GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-pnglib CONFIGURE_ARGS+= --with-tifflib @@ -43,5 +43,8 @@ SUBST_SED.sed+= -e "s| sed | ${SED} |g" INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} +pre-configure: + cd ${WRKSRC} && autoconf + .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk"