From 21643df3fcf6aae6625ed7af2b6658f59c4d0336 Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sun, 24 Mar 2002 00:25:07 +0000 Subject: [PATCH] Don't clobber the system strcasestr(). Submitted by: bento --- www/asp2php/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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