aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mod_layout/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_layout/Makefile b/www/mod_layout/Makefile
index 60d51dae2a7c..388d09d5b1e5 100644
--- a/www/mod_layout/Makefile
+++ b/www/mod_layout/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_layout
PORTVERSION= 2.10.6
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ftp://ftp.tangent.org/pub/apache/ \
http://www.tangent.org/mod_layout/
@@ -16,8 +17,11 @@ MAINTAINER= petef@databits.net
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+MAKE_ENV= APXS=${LOCALBASE}/sbin/apxs
+
post-patch:
- @${PERL} -pi -e 's!-i -a -n!-i -A -n!' ${WRKSRC}/Makefile
+ @${PERL} -pi -e 's!-i -a -n!-i -A -n!; s!APXS=apxs!APXS?=apxs!' \
+ ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)