aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlbr <lbr@FreeBSD.org>2009-01-31 21:56:14 +0800
committerlbr <lbr@FreeBSD.org>2009-01-31 21:56:14 +0800
commita140f554559507b94dbb4203eac9633b46bd0a2f (patch)
tree12aa8e154afe893975f3734c0b703d501fbe41f9 /graphics
parentd040ff50ce9f160de6cefcc014f88ac46c253651 (diff)
downloadfreebsd-ports-gnome-a140f554559507b94dbb4203eac9633b46bd0a2f.tar.gz
freebsd-ports-gnome-a140f554559507b94dbb4203eac9633b46bd0a2f.tar.zst
freebsd-ports-gnome-a140f554559507b94dbb4203eac9633b46bd0a2f.zip
Fix freetype1 compilation issue.
Tony Cook (Imager author) wrote regarding the PR: This is a conflict between the freetype 1.x and freetype 2.x headers, and can be reproduced by installing freetype 1.3 port (print/freetype) before attempting to build graphics/p5-Imager. Imager can be built with both sets of headers, but the p5-Imager ports Makefile incorrectly sets IM_INCPATH to point at the freetype 2.x freetype.h directory, causing the conflict. If you remove IM_INCPATH from the Makefile p5-Imager will build correctly. No revision-bump needed - it either installed fine or not at all before. PR: 130420 Submitted by: Peter Vereshagin <peter@vereshagin.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/p5-Imager/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/p5-Imager/Makefile b/graphics/p5-Imager/Makefile
index 0f1de1931c03..dbb244a5aa43 100644
--- a/graphics/p5-Imager/Makefile
+++ b/graphics/p5-Imager/Makefile
@@ -25,8 +25,7 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
PERL_CONFIGURE= 5.8.0+
CONFIGURE_ENV= IM_LIBPATH="${LOCALBASE}/lib" \
- IM_CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
- IM_INCPATH="${LOCALBASE}/include/freetype2/freetype"
+ IM_CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
.include "Makefile.man"