aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_limitipconn
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-04-20 16:12:03 +0800
committerijliao <ijliao@FreeBSD.org>2003-04-20 16:12:03 +0800
commit3f7bed003728ff0b494f296f8564cc417303a4af (patch)
tree3dbc85a6ca227440d5ba88f5ead2beba98ff5757 /www/mod_limitipconn
parent2a25fe1a5c86c336eedd2ed22487366e90969344 (diff)
downloadfreebsd-ports-gnome-3f7bed003728ff0b494f296f8564cc417303a4af.tar.gz
freebsd-ports-gnome-3f7bed003728ff0b494f296f8564cc417303a4af.tar.zst
freebsd-ports-gnome-3f7bed003728ff0b494f296f8564cc417303a4af.zip
* Fix building problem when PATH doesn't contain /usr/local/sbin.
* Use tarball's Makefile to install. * Bump PORTREVISION. PR: 51176 Submitted by: maintainer
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 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>