aboutsummaryrefslogtreecommitdiff
path: root/graphics/xpdf
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2004-03-27 07:42:16 +0000
committerDoug Barton <dougb@FreeBSD.org>2004-03-27 07:42:16 +0000
commit26e88f938edaded429d3d6cffc7394a91a408dcf (patch)
treef9cce787a643b3133efa44f31b6b4f3beac71967 /graphics/xpdf
parent2684ed96b78b6ce610cecf347f58c940d1380cdd (diff)
downloadports-26e88f938edaded429d3d6cffc7394a91a408dcf.tar.gz
ports-26e88f938edaded429d3d6cffc7394a91a408dcf.zip
Update the freetype2 include file test in configure.
Submitted by: lofi
Notes
Notes: svn path=/head/; revision=105409
Diffstat (limited to 'graphics/xpdf')
-rw-r--r--graphics/xpdf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index d53ca98e328a..4a552ac1596c 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -45,6 +45,11 @@ MAN1= pdffonts.1 \
xpdf.1
MAN5= xpdfrc.5
+post-patch:
+ @${CP} ${WRKSRC}/configure ${WRKSRC}/configure.orig
+ @${SED} -e "s#freetype.h#ft2build.h#" ${WRKSRC}/configure.orig > \
+ ${WRKSRC}/configure
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}