aboutsummaryrefslogtreecommitdiff
path: root/www/asp2php/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/asp2php/Makefile')
-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