diff options
author | joerg <joerg@pkgsrc.org> | 2008-07-10 15:18:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-07-10 15:18:23 +0000 |
commit | 1d62d3bc6dd76d8aa010350d6799778cedbe3a94 (patch) | |
tree | e5148a91c23f601aa2005cab1e7ce23160e994b3 /www | |
parent | 45832a529bfabd6c9959f2627042eb40703a2019 (diff) | |
download | pkgsrc-1d62d3bc6dd76d8aa010350d6799778cedbe3a94.tar.gz |
Fix abs_srcdir definition as done in apache22. Also install
mkdir.sh as expected e.g. by www/ap2-fcgid. Bump revision.
Diffstat (limited to 'www')
-rw-r--r-- | www/apache2/Makefile | 15 | ||||
-rw-r--r-- | www/apache2/PLIST | 3 |
2 files changed, 15 insertions, 3 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 878656e911e..187c1320a28 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.124 2008/06/22 23:01:19 he Exp $ +# $NetBSD: Makefile,v 1.125 2008/07/10 15:18:23 joerg Exp $ .include "Makefile.common" PKGNAME= apache-${APACHE_VERSION} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www HOMEPAGE= http://httpd.apache.org/ @@ -152,6 +152,15 @@ SUBST_SED.confs+= -e 's|/var/log/httpd/foo\.log|logs/foo.log/|g' SUBST_SED.confs+= -e 's|^\(User[ ]\).*|\1${APACHE_USER}|g' SUBST_SED.confs+= -e 's|^\(Group[ ]\).*|\1${APACHE_GROUP}|g' +# abs_srcdir in config_vars.mk is used during install so needs to reference +# the work dir path, and by other packages such as ap2-fastcgi after install, +# 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_SED.abs_srcdir= -e 's|^\(abs_srcdir =\) .*|\1 ${PREFIX}/share/httpd|' +SUBST_MESSAGE.abs_srcdir= Fixing abs_srcdir + REPLACE_PERL= docs/cgi-examples/printenv .include "options.mk" @@ -236,4 +245,6 @@ post-install: ${CHOWN} ${MANOWN}:${MANGRP} ${PREFIX}/${PKGMANDIR}/$$file; \ done + ${INSTALL_SCRIPT} ${WRKSRC}/build/mkdir.sh ${PREFIX}/share/httpd/build + .include "../../mk/bsd.pkg.mk" diff --git a/www/apache2/PLIST b/www/apache2/PLIST index e4eaa59e828..85e87702bc1 100644 --- a/www/apache2/PLIST +++ b/www/apache2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.36 2008/04/12 22:43:13 jlam Exp $ +@comment $NetBSD: PLIST,v 1.37 2008/07/10 15:18:23 joerg Exp $ include/httpd/ap_compat.h include/httpd/ap_config.h include/httpd/ap_config_auto.h @@ -92,6 +92,7 @@ share/httpd/build/instdso.sh share/httpd/build/library.mk share/httpd/build/libtool share/httpd/build/ltlib.mk +share/httpd/build/mkdir.sh share/httpd/build/program.mk share/httpd/build/rules.mk share/httpd/build/special.mk |