summaryrefslogtreecommitdiff
path: root/net/fidelio
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-30 00:13:03 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-30 00:13:03 +0000
commit5d60a21dbfa19deb2745c456981778bab8b3f7e8 (patch)
tree3a59388caaac38954104a10b9be03f844d3640bf /net/fidelio
parentAdd a temporary master site to make this port fetchable. (diff)
Fix build, don't clobber the system strcasestr() function.
PR: 36455
Notes
Notes: svn path=/head/; revision=56891
Diffstat (limited to 'net/fidelio')
-rw-r--r--net/fidelio/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/fidelio/Makefile b/net/fidelio/Makefile
index 3943c298ddce..6ac49f627e2d 100644
--- a/net/fidelio/Makefile
+++ b/net/fidelio/Makefile
@@ -28,6 +28,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libxml2 \
LDFLAGS="-L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`" \
XML_CONFIG="${XML_CONFIG}"
CONFIGURE_ARGS= --without-included-gettext
+CFLAGS+= -DHAVE_STRCASESTR
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
@@ -37,5 +38,7 @@ pre-patch:
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
@${PERL} -pi -e 's|-lxml|-lxml2|g' \
${WRKSRC}/configure
+ @${PERL} -pi -e 's|extern int strcasestr|//extern int strcasestr|' \
+ ${WRKSRC}/src/trackers.c
.include <bsd.port.mk>