--- support/envvars-std.in.orig	2012-03-08 16:10:51 UTC
+++ support/envvars-std.in
@@ -26,3 +26,10 @@ fi
 export @SHLIBPATH_VAR@
 #
 @OS_SPECIFIC_VARS@
+
+ENVVARS_DIR=%%PREFIX%%/etc/apache24/envvars.d
+
+for envvars_file in $(ls ${ENVVARS_DIR}/*.env 2>/dev/null)
+do
+	. ${envvars_file}
+done
