summaryrefslogtreecommitdiffstats
path: root/www/asp2php
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-24 00:25:07 +0000
committerpetef <petef@FreeBSD.org>2002-03-24 00:25:07 +0000
commit118b4892656af14a7d0bd224a1d97199349fb5b4 (patch)
tree46dcbbb78531bd336a6552a1e265a8f75139f36d /www/asp2php
parentd5b3b83035fc8eb89dc9c2e17ad24b03130e7964 (diff)
downloadFreeBSD-ports-118b4892656af14a7d0bd224a1d97199349fb5b4.zip
FreeBSD-ports-118b4892656af14a7d0bd224a1d97199349fb5b4.tar.gz
Don't clobber the system strcasestr().
Submitted by: bento
Diffstat (limited to 'www/asp2php')
-rw-r--r--www/asp2php/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/asp2php/Makefile b/www/asp2php/Makefile
index 385def7..6d6f944 100644
--- a/www/asp2php/Makefile
+++ b/www/asp2php/Makefile
@@ -28,6 +28,10 @@ PLIST_SUB+= WANT_GTK=""
PLIST_SUB+= WANT_GTK="@comment "
.endif
+post-patch:
+ @${PERL} -pi -e 's,strcasestr,strcasestr_,' ${WRKSRC}/functions.h \
+ ${WRKSRC}/general.c
+
pre-build:
${PERL} -pi -e "s:gtk-config:${GTK_CONFIG}:g" ${WRKSRC}/Makefile
OpenPOWER on IntegriCloud