summaryrefslogtreecommitdiff
path: root/www/w3c-httpd
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2004-09-18 13:34:28 +0000
committeruebayasi <uebayasi>2004-09-18 13:34:28 +0000
commit6f7a8b4fcce9149084037eb9bf0d48d0f14287de (patch)
tree6576f61f35f6ba623e4523112726829b889ef777 /www/w3c-httpd
parent0977b9b5b4f1f1b83d043b83230c85002adb7f42 (diff)
downloadpkgsrc-6f7a8b4fcce9149084037eb9bf0d48d0f14287de.tar.gz
Rename a local library function `strcasestr()' to `xstrcasestr()'
to avoid type confliction. Hopefully fix build problems reported by buld builds.
Diffstat (limited to 'www/w3c-httpd')
-rw-r--r--www/w3c-httpd/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/w3c-httpd/Makefile b/www/w3c-httpd/Makefile
index 51ec65f1f82..6d4c01d043e 100644
--- a/www/w3c-httpd/Makefile
+++ b/www/w3c-httpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/08/29 15:40:03 recht Exp $
+# $NetBSD: Makefile,v 1.13 2004/09/18 13:34:28 uebayasi Exp $
# FreeBSD Id: Makefile,v 1.19 1999/01/08 19:59:26 fenner Exp
DISTNAME= w3c-httpd-3.0A
@@ -12,6 +12,14 @@ COMMENT= WWW server from the W3 Consortium (W3C)
WRKSRC= ${WRKDIR}
+SUBST_CLASSES+= strcasestr
+SUBST_STAGE.strcasestr= post-patch
+SUBST_FILES.strcasestr= Daemon/Implementation/HTWild.c \
+ Library/Implementation/HTString.c \
+ Library/Implementation/HTString.h \
+ Library/Implementation/HTString.h
+SUBST_SED.strcasestr= -e "s,\([[:blank:]]\)\(strcasestr\),\1x\2,g"
+
pre-configure:
.if !defined(MD5_PW)
@${ECHO} ""