summaryrefslogtreecommitdiffstats
path: root/www/mod_limitipconn
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_limitipconn')
-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 74d74cc..b1629c3 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>
OpenPOWER on IntegriCloud