Don't clobber the system strcasestr().

Submitted by:	bento
This commit is contained in:
Pete Fritchman 2002-03-24 00:25:07 +00:00
parent 17a2c2f805
commit 21643df3fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56505

View File

@ -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