diff options
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile.ext | 5 |
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 |