summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2009-01-31 13:56:14 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2009-01-31 13:56:14 +0000
commite759b9c409ff98c9ce869c7c3d481525b0a2e128 (patch)
tree1fed7cf4eb5408bf607ccd790ce3099a46b82aa5 /graphics
parent09b0833b1b09819549082eaddb9ba5996b264e60 (diff)
downloadfreebsd-ports-e759b9c409ff98c9ce869c7c3d481525b0a2e128.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"