summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-20 08:12:03 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-20 08:12:03 +0000
commitfe70b151474dee4a3c9448cf80c268343b3af5aa (patch)
tree49f4a1e2743d99d26e3fbbc35004d159247de7e5 /www
parentgdk-pixbuf is installed at ${X11BASE}. (diff)
* Fix building problem when PATH doesn't contain /usr/local/sbin.
* Use tarball's Makefile to install. * Bump PORTREVISION. PR: 51176 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=79343
Diffstat (limited to 'www')
-rw-r--r--www/mod_limitipconn/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/mod_limitipconn/Makefile b/www/mod_limitipconn/Makefile
index 74d74cc0ff59..b1629c31d187 100644
--- a/www/mod_limitipconn/Makefile
+++ b/www/mod_limitipconn/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_limitipconn
PORTVERSION= 0.04
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dominia.org/djao/limit/
@@ -14,11 +15,13 @@ MAINTAINER= gslin@ccca.nctu.edu.tw
COMMENT= Limit the number of simultaneous connections from a single client IP address
BUILD_DEPENDS?= ${APXS}:${PORTSDIR}/www/apache13
-RUN_DEPENDS?= ${APXS}:${PORTSDIR}/www/apache13
+RUN_DEPENDS?= ${BUILD_DEPENDS}
APXS?= ${LOCALBASE}/sbin/apxs
-do-install:
- ${APXS} -i -A -n limitipconn ${WRKSRC}/mod_limitipconn.so
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile
.include <bsd.port.mk>