summaryrefslogtreecommitdiff
path: root/print/xpdf
diff options
context:
space:
mode:
authorjoda <joda>2002-04-10 12:17:39 +0000
committerjoda <joda>2002-04-10 12:17:39 +0000
commitc665beb33a085fcea23d23af50813a7a1522e759 (patch)
tree16ed7deb4f5716a654c0affd3198b07d2c8cc9ea /print/xpdf
parentd399297870dbf35efda37a7e0e904584a9ea1ddc (diff)
downloadpkgsrc-c665beb33a085fcea23d23af50813a7a1522e759.tar.gz
switch to using freetype2; should close pkg/16051
Diffstat (limited to 'print/xpdf')
-rw-r--r--print/xpdf/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/xpdf/Makefile b/print/xpdf/Makefile
index 4af64b3384f..566631942ed 100644
--- a/print/xpdf/Makefile
+++ b/print/xpdf/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2002/04/09 12:58:44 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2002/04/10 12:17:39 joda Exp $
#
DISTNAME= xpdf-1.00
+PKGREVISION= 1 # because of switch to freetype2
CATEGORIES= print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/}
@@ -16,9 +17,10 @@ CONFLICTS= xpdf-crypto-[0-9]*
USE_BUILDLINK_ONLY= YES
USE_X11BASE= YES
+USE_FREETYPE2= YES
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-freetype-includes=${BUILDLINK_DIR}/include
+CONFIGURE_ARGS+= --with-freetype2-includes=${BUILDLINK_DIR}/include/freetype2
CONFIGURE_ARGS+= --with-t1-includes=${BUILDLINK_DIR}/include
CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
MAKE_ENV+= SED="${SED}" ECHO="${ECHO}"
@@ -34,7 +36,7 @@ post-install:
${FILESDIR}/xpdf-app-defaults \
> ${X11PREFIX}/lib/X11/app-defaults/Xpdf
-.include "../../graphics/freetype-lib/buildlink.mk"
+.include "../../graphics/freetype2/buildlink.mk"
.include "../../graphics/xpm/buildlink.mk"
.include "../../textproc/t1lib/buildlink.mk"
.include "../../mk/x11.buildlink.mk"