summaryrefslogtreecommitdiffstats
path: root/graphics/p5-Imager
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2005-09-01 12:49:36 +0000
committermat <mat@FreeBSD.org>2005-09-01 12:49:36 +0000
commitf5ae7183c0a4d56f418f4cd252fea24bd608fda0 (patch)
tree3d7247cd022877734a28a6454e47a4917391631b /graphics/p5-Imager
parent6efd15079305c723745103d627a80898d917edb6 (diff)
downloadFreeBSD-ports-f5ae7183c0a4d56f418f4cd252fea24bd608fda0.zip
FreeBSD-ports-f5ae7183c0a4d56f418f4cd252fea24bd608fda0.tar.gz
Fix for damn 5.005_03
Pointed out by: kris/pointyhat Pointy hat to: me
Diffstat (limited to 'graphics/p5-Imager')
-rw-r--r--graphics/p5-Imager/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/p5-Imager/Makefile b/graphics/p5-Imager/Makefile
index 27c6ebf..d5a6952 100644
--- a/graphics/p5-Imager/Makefile
+++ b/graphics/p5-Imager/Makefile
@@ -25,8 +25,8 @@ LIB_DEPENDS= t1:${PORTSDIR}/devel/t1lib \
USE_FREETYPE= yes
PERL_CONFIGURE= yes
CONFIGURE_ENV= IM_LIBPATH="${LOCALBASE}/lib" \
+ IM_CFLAGS="${CFLAGS}" \
IM_INCPATH="${LOCALBASE}/include/freetype1/freetype"
-USE_GMAKE= yes
MAN3= Imager.3 Imager::Color.3 Imager::Color::Float.3 Imager::Expr.3 \
Imager::Expr::Assem.3 Imager::Fill.3 Imager::Font.3 \
@@ -38,4 +38,12 @@ MAN3= Imager.3 Imager::Color.3 Imager::Color::Float.3 Imager::Expr.3 \
Imager::ImageTypes.3 Imager::Filters.3 Imager::Font::BBox.3 \
Imager::Color::Table.3 Imager::Font::Wrap.3 Imager::Cookbook.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-configure:
+ @perl -pi.bak -e 's/^PASTHRU =/$$& INC="\$$(INC)" CCFLAGS="\$$(CCFLAGS)" /' \
+ ${WRKSRC}/Makefile
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud