aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-27 13:45:22 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-06-27 13:45:22 +0800
commit8ae5689b1d66d70675858f51c236bd98d14b41ca (patch)
treeae165a0f3a35de04927eae4177bf624b42a37e1b /www
parent3a11e37a4b09ba49a9fcc1bce5f5a6df0b1a144a (diff)
downloadfreebsd-ports-gnome-8ae5689b1d66d70675858f51c236bd98d14b41ca.tar.gz
freebsd-ports-gnome-8ae5689b1d66d70675858f51c236bd98d14b41ca.tar.zst
freebsd-ports-gnome-8ae5689b1d66d70675858f51c236bd98d14b41ca.zip
Fix error reported by bento when apache is installed as a depend
Bump PORTREVISION PR: 28440 Submitted by: maintainer
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)