mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Don't clobber the system strcasestr().
Submitted by: bento
This commit is contained in:
parent
17a2c2f805
commit
21643df3fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56505
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user