summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg>2010-03-18 12:47:56 +0000
committerjoerg <joerg>2010-03-18 12:47:56 +0000
commitd8b3118fb3ed79a45aa275dbea7b951f6c4b1e19 (patch)
tree66735ab58aaeef6f6dc695052c2845b4c913856d /www
parent669e0aacdd8bdfcf0ff514a1ff905ff88c3844b3 (diff)
downloadpkgsrc-d8b3118fb3ed79a45aa275dbea7b951f6c4b1e19.tar.gz
Make sure abs_srcdir is patched for the DESTDIR case too. Bump revision.
Diffstat (limited to 'www')
-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