diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-03-30 00:13:03 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-03-30 00:13:03 +0000 |
commit | 5d60a21dbfa19deb2745c456981778bab8b3f7e8 (patch) | |
tree | 3a59388caaac38954104a10b9be03f844d3640bf /net/fidelio | |
parent | Add a temporary master site to make this port fetchable. (diff) |
Fix build, don't clobber the system strcasestr() function.
PR: 36455
Diffstat (limited to 'net/fidelio')
-rw-r--r-- | net/fidelio/Makefile | 3 |
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> |