summaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-03-18 12:47:56 +0000
committerjoerg <joerg@pkgsrc.org>2010-03-18 12:47:56 +0000
commite8f89a90696c89f11d0694a08d99c8047bb13978 (patch)
tree66735ab58aaeef6f6dc695052c2845b4c913856d /www/apache2
parentd0b2cd2cbee8f7ee357cc3e9e417cfef765b9e57 (diff)
downloadpkgsrc-e8f89a90696c89f11d0694a08d99c8047bb13978.tar.gz
Make sure abs_srcdir is patched for the DESTDIR case too. Bump revision.
Diffstat (limited to 'www/apache2')
-rw-r--r--www/apache2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 635ae49d521..adbc96f59ee 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.132 2010/02/17 15:14:05 joerg Exp $
+# $NetBSD: Makefile,v 1.133 2010/03/18 12:47:56 joerg Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
PKGNAME= apache-${APACHE_VERSION}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= www
HOMEPAGE= http://httpd.apache.org/
@@ -159,7 +159,7 @@ SUBST_SED.confs+= -e 's|^\(Group[ ]\).*|\1${APACHE_GROUP}|g'
# so we fix after install to reference the installed path
SUBST_CLASSES+= abs_srcdir
SUBST_STAGE.abs_srcdir= post-install
-SUBST_FILES.abs_srcdir= ${PREFIX}/share/httpd/build/config_vars.mk
+SUBST_FILES.abs_srcdir= ${DESTDIR}${PREFIX}/share/httpd/build/config_vars.mk
SUBST_SED.abs_srcdir= -e 's|^\(abs_srcdir =\) .*|\1 ${PREFIX}/share/httpd|'
SUBST_MESSAGE.abs_srcdir= Fixing abs_srcdir