aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-09-11 00:31:00 +0800
committerale <ale@FreeBSD.org>2006-09-11 00:31:00 +0800
commit3b1cbd15441e5e6731327e6f7a578074cec89816 (patch)
treed37693163569bda6664fc20b71375169c62bcedf /lang
parent72555a097d82782d6d3857f3e88a3220eb4ca237 (diff)
downloadfreebsd-ports-gnome-3b1cbd15441e5e6731327e6f7a578074cec89816.tar.gz
freebsd-ports-gnome-3b1cbd15441e5e6731327e6f7a578074cec89816.tar.zst
freebsd-ports-gnome-3b1cbd15441e5e6731327e6f7a578074cec89816.zip
Fix default certificates path for pfpro extension.
PR: ports/99067 Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua>
Diffstat (limited to 'lang')
-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