Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 13:58:28 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338115 - head/graphics/xpaint
Message-ID:  <201312301358.rBUDwSJA049865@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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//' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312301358.rBUDwSJA049865>