summaryrefslogtreecommitdiff
path: root/www/asp2php
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-24 00:25:07 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-24 00:25:07 +0000
commit21643df3fcf6aae6625ed7af2b6658f59c4d0336 (patch)
tree5a4abaabf06cce70efcadf4a882067844362b35e /www/asp2php
parentAdd a missing dependency on libgmp. (diff)
Don't clobber the system strcasestr().
Submitted by: bento
Notes
Notes: svn path=/head/; revision=56505
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 385def7877cd..6d6f94476801 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