summaryrefslogtreecommitdiffstats
path: root/www/apache22
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-02-05 18:26:21 +0000
committerclement <clement@FreeBSD.org>2005-02-05 18:26:21 +0000
commit3b0c24c2777f4e0b1e94011d0af4dafdfc6b0040 (patch)
tree9757a40aa6099abf0f771de9bab95dc62ab67e40 /www/apache22
parent8bf3c9cdff35fb1fec00e7619cc61075f2329382 (diff)
downloadFreeBSD-ports-3b0c24c2777f4e0b1e94011d0af4dafdfc6b0040.zip
FreeBSD-ports-3b0c24c2777f4e0b1e94011d0af4dafdfc6b0040.tar.gz
- Fix envvar.d stuff
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile3
-rw-r--r--www/apache22/files/patch-support:envvars-std.in2
-rw-r--r--www/apache22/pkg-plist4
3 files changed, 5 insertions, 4 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index afa43f3..f9e7717 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -9,7 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_LOCAL:S/%SUBDIR%/clement/}
DISTNAME= httpd-${PORTVERSION}-alpha
@@ -220,6 +220,7 @@ install-startup-script:
@${INSTALL_SCRIPT} -m 555 ${WRKDIR}/apache21.sh ${PREFIX}/etc/rc.d/apache21.sh
post-install: install-startup-script
+ @${MKDIR} ${PREFIX}/etc/apache21/envvars.d
@${MKDIR} ${PREFIX}/etc/apache21/Includes
@@${CAT} ${PKGMESSAGE}
diff --git a/www/apache22/files/patch-support:envvars-std.in b/www/apache22/files/patch-support:envvars-std.in
index 26a094f..6148034 100644
--- a/www/apache22/files/patch-support:envvars-std.in
+++ b/www/apache22/files/patch-support:envvars-std.in
@@ -5,7 +5,7 @@
#
@OS_SPECIFIC_VARS@
+
-+ENVVARS_DIR=%%PREFIX%%/etc/apache2/envvars.d
++ENVVARS_DIR=%%PREFIX%%/etc/apache21/envvars.d
+
+for envvars_file in $(ls ${ENVVARS_DIR}/*.env 2>/dev/null)
+do
diff --git a/www/apache22/pkg-plist b/www/apache22/pkg-plist
index ffafdef..5c5717c 100644
--- a/www/apache22/pkg-plist
+++ b/www/apache22/pkg-plist
@@ -504,8 +504,8 @@ share/apache21/build/special.mk
@unexec rmdir %D/libexec/apache21 2> /dev/null || true
@dirrm include/apache21
@exec mkdir -p %D/etc/apache21/Includes 2> /dev/null || true
-@exec mkdir -p %D/etc/apache2/envvars.d 2> /dev/null || true
+@exec mkdir -p %D/etc/apache21/envvars.d 2> /dev/null || true
@unexec rmdir %D/etc/apache21/Includes 2> /dev/null || true
-@unexec rmdir %D/etc/apache2/envvars.d 2> /dev/null || true
@unexec rm -f %D/etc/apache21/httpd.conf.bak 2> /dev/null || true
+@unexec rmdir %D/etc/apache21/envvars.d 2> /dev/null || true
@unexec rmdir %D/etc/apache21 2> /dev/null || echo "===> If you plan to do not reinstall apache21, you can safely remove %D/etc/apache21."
OpenPOWER on IntegriCloud