diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-04-20 08:12:03 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-04-20 08:12:03 +0000 |
commit | 3f7bed003728ff0b494f296f8564cc417303a4af (patch) | |
tree | 3dbc85a6ca227440d5ba88f5ead2beba98ff5757 | |
parent | 2a25fe1a5c86c336eedd2ed22487366e90969344 (diff) | |
download | FreeBSD-ports-3f7bed003728ff0b494f296f8564cc417303a4af.zip FreeBSD-ports-3f7bed003728ff0b494f296f8564cc417303a4af.tar.gz |
* Fix building problem when PATH doesn't contain /usr/local/sbin.
* Use tarball's Makefile to install.
* Bump PORTREVISION.
PR: 51176
Submitted by: maintainer
-rw-r--r-- | www/mod_limitipconn/Makefile | 9 |
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> |