aboutsummaryrefslogtreecommitdiff
path: root/graphics/xpaint
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-12-30 13:58:27 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-12-30 13:58:27 +0000
commit6e8e95f9f06245258f16c4d1c61c7d29a3cb7c58 (patch)
treefbf5a77cf8b5be17a54acc3239e4bdf96cba0b2f /graphics/xpaint
parent5e476c009d31141413268ca9bd685e897c3177bb (diff)
downloadports-6e8e95f9f06245258f16c4d1c61c7d29a3cb7c58.tar.gz
ports-6e8e95f9f06245258f16c4d1c61c7d29a3cb7c58.zip
Fix build issue with freetype (again), hopefully now working for all versions
Notes
Notes: svn path=/head/; revision=338115
Diffstat (limited to 'graphics/xpaint')
-rw-r--r--graphics/xpaint/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 0740896b515f..393f2f5b558c 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -30,7 +30,8 @@ GNU_CONFIGURE= yes
USES= shebangfix
SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr
-CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
+CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
+ -I${LOCALBASE}/include/freetype2/freetype
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= RM="${RM} -f"
@@ -39,6 +40,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's/-ldl //' \
+ -e 's|freetype/||g' \
${WRKSRC}/configure ${WRKSRC}/rw/configure
@${REINPLACE_CMD} -e '/^LIBTOOL/d' \
-e '/^install-exec-am:/s/install-libLTLIBRARIES//' \