summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}