summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-09-18 13:34:28 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-09-18 13:34:28 +0000
commit15578d5f8a2120801496e3e397dd917aedfa2107 (patch)
tree6576f61f35f6ba623e4523112726829b889ef777 /www
parent61ce658fb325f8266c811bb29329b6f881aac917 (diff)
downloadpkgsrc-15578d5f8a2120801496e3e397dd917aedfa2107.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')
-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} ""