aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-10-11 21:14:26 +0800
committermiwi <miwi@FreeBSD.org>2009-10-11 21:14:26 +0800
commit604652d31c5bef139073666a27d02b00a4745297 (patch)
treef253ddfa805d6cb392bb348c1fedbcf5bfcf7e13 /textproc
parent4b3a584be74b9c5aeca87b942e8c27053ad64774 (diff)
downloadfreebsd-ports-gnome-604652d31c5bef139073666a27d02b00a4745297.tar.gz
freebsd-ports-gnome-604652d31c5bef139073666a27d02b00a4745297.tar.zst
freebsd-ports-gnome-604652d31c5bef139073666a27d02b00a4745297.zip
- Fix build with custom prefix
PR: 139021 Submitted by: amdmi3@ Approved by: maintainer timeout
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-HTML-CTPP2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/p5-HTML-CTPP2/Makefile b/textproc/p5-HTML-CTPP2/Makefile
index c92232eb85c6..cce3dd85e9e3 100644
--- a/textproc/p5-HTML-CTPP2/Makefile
+++ b/textproc/p5-HTML-CTPP2/Makefile
@@ -25,4 +25,8 @@ MAN3= HTML::CTPP2.3
# The port actually requires ${CXX} when ${CC} is defined
CC= ${CXX}
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>