diff options
author | petef <petef@FreeBSD.org> | 2002-03-30 00:13:03 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-03-30 00:13:03 +0000 |
commit | c54c7e994b0f39433688b0f3cefdd5c9e605b3e2 (patch) | |
tree | 78653fc3dc73a7baabf252bd7c9de9f09de5011e /net-p2p | |
parent | 28a3dd88db4ecaca77c1494c187ebdf703d68771 (diff) | |
download | FreeBSD-ports-c54c7e994b0f39433688b0f3cefdd5c9e605b3e2.zip FreeBSD-ports-c54c7e994b0f39433688b0f3cefdd5c9e605b3e2.tar.gz |
Fix build, don't clobber the system strcasestr() function.
PR: 36455
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/fidelio/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net-p2p/fidelio/Makefile b/net-p2p/fidelio/Makefile index 3943c29..6ac49f6 100644 --- a/net-p2p/fidelio/Makefile +++ b/net-p2p/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> |