summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-12-14 21:24:11 +0000
committerpetef <petef@FreeBSD.org>2001-12-14 21:24:11 +0000
commitf0c3729c59a3f4eb9c8353d085692f7cbfa4db70 (patch)
treeb6a5fe21eb2ef441f94c22d36f943ff0f0cf4cfd /www
parentf7fb4498e189ede94d0ce051cb0026d9f58f9681 (diff)
downloadFreeBSD-ports-f0c3729c59a3f4eb9c8353d085692f7cbfa4db70.zip
FreeBSD-ports-f0c3729c59a3f4eb9c8353d085692f7cbfa4db70.tar.gz
Rework how we tell the Makefile to use ${LOCALBASE}/sbin/apxs.
Noticed by: bento
Diffstat (limited to 'www')
-rw-r--r--www/mod_layout/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/mod_layout/Makefile b/www/mod_layout/Makefile
index f034d74..f2cb640 100644
--- a/www/mod_layout/Makefile
+++ b/www/mod_layout/Makefile
@@ -16,10 +16,8 @@ MAINTAINER= petef@FreeBSD.org
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!APXS=apxs!APXS?=apxs!' \
+ @${PERL} -pi -e 's!apxs!${LOCALBASE}/sbin/apxs!g' \
${WRKSRC}/Makefile
post-install:
OpenPOWER on IntegriCloud