freebsd-ports/www/apache20/files/patch-support__envvars-std.in
Philip M. Gollucci 5ac76d39ce - Regenerate patch files with make makepatch for they have
piled up and additional patches conflict.
  This also will help when we try to syncronize www/apache20&www/apache22

With Hat:   apache@
2010-05-06 23:10:20 +00:00

13 lines
341 B
Text

--- ./support/envvars-std.in.orig 2006-07-12 03:40:55.000000000 -0400
+++ ./support/envvars-std.in 2010-05-06 16:06:03.798833361 -0400
@@ -22,3 +22,10 @@
export @SHLIBPATH_VAR@
#
@OS_SPECIFIC_VARS@
+
+ENVVARS_DIR=%%PREFIX%%/etc/apache2/envvars.d
+
+for envvars_file in $(ls ${ENVVARS_DIR}/*.env 2>/dev/null)
+do
+ . ${envvars_file}
+done