svn commit: r338115 - head/graphics/xpaint

Johan van Selst johans at FreeBSD.org
Mon Dec 30 13:58:28 UTC 2013


Author: johans
Date: Mon Dec 30 13:58:27 2013
New Revision: 338115
URL: http://svnweb.freebsd.org/changeset/ports/338115

Log:
  Fix build issue with freetype (again), hopefully now working for all versions

Modified:
  head/graphics/xpaint/Makefile

Modified: head/graphics/xpaint/Makefile
==============================================================================
--- head/graphics/xpaint/Makefile	Mon Dec 30 13:40:51 2013	(r338114)
+++ head/graphics/xpaint/Makefile	Mon Dec 30 13:58:27 2013	(r338115)
@@ -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//' \


More information about the svn-ports-head mailing list