aboutsummaryrefslogtreecommitdiff
path: root/lang/php4/Makefile.ext
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-09-10 16:31:00 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-09-10 16:31:00 +0000
commit5ffedf9e66400af855eac997ae77327ff44be9c2 (patch)
treec5357963cfcd6995c63efedb166b024514a674bd /lang/php4/Makefile.ext
parent12695078128a95c5938cbcb7bf07da69ef1e6891 (diff)
downloadports-5ffedf9e66400af855eac997ae77327ff44be9c2.tar.gz
ports-5ffedf9e66400af855eac997ae77327ff44be9c2.zip
Notes
Diffstat (limited to 'lang/php4/Makefile.ext')
-rw-r--r--lang/php4/Makefile.ext5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/php4/Makefile.ext b/lang/php4/Makefile.ext
index ddb345721205..8a7000d08167 100644
--- a/lang/php4/Makefile.ext
+++ b/lang/php4/Makefile.ext
@@ -472,6 +472,11 @@ post-extract:
@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4
.endif
+.if ${PHP_MODNAME} == "pfpro"
+post-patch:
+ @${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/pfpro.c
+.endif
+
.if ${PHP_MODNAME} == "snmp"
. if defined(WITH_SNMP4) || exists(${LOCALBASE}/lib/libsnmp.so.4)
LIB_DEPENDS+= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4