summaryrefslogtreecommitdiff
path: root/graphics/p5-GD/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-GD/Makefile')
-rw-r--r--graphics/p5-GD/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index 248621afd431..27a84df1227b 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -18,8 +18,15 @@ COMMENT= A perl5 interface to Gd Graphics Library
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
PERL_CONFIGURE= yes
+USE_REINPLACE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= GD.3
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's,@@LOCALBASE@@,${LOCALBASE},g' \
+ -e 's,@@LOCALBASE@@,${LOCALBASE},g' \
+ ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>