--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/apache2/patches/Makefile.in.patch Thu Jun 02 00:54:08 2011 -0700
@@ -0,0 +1,33 @@
+--- Makefile.in Tue Nov 25 12:24:49 2008
++++ Makefile.in Thu May 19 08:09:10 2011
[email protected]@ -49,6 +49,9 @@
+ -e 's#@@[email protected]@#$(PORT)#g' \
+ -e 's#@@[email protected]@#$(SSLPORT)#g' \
+ -e '/@@[email protected]@/d' \
++ -e 's#@@[email protected]@#$(sysconfdir)#g' \
++ -e 's#@@[email protected]@#$(runtimedir)#g' \
++ -e 's#@@[email protected]@#$(datadir)#g' \
+ < $$i; \
+ else \
+ sed -n -e '/@@[email protected]@/q' \
[email protected]@ -87,6 +90,12 @@
+ cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
+ fi ; \
+ fi
++ @if ! grep "$(sysconfdir)/envvars" $(DESTDIR)$(sbindir)/envvars > /dev/null; then \
++ echo 'if [ -f $(sysconfdir)/envvars ]; then' >> $(DESTDIR)$(sbindir)/envvars ; \
++ echo '. $(sysconfdir)/envvars' >> $(DESTDIR)$(sbindir)/envvars ; \
++ echo 'fi' >> $(DESTDIR)$(sbindir)/envvars ; \
++ fi
++ @grep "^#" $(top_builddir)/support/envvars-std > $(DESTDIR)$(sysconfdir)/envvars
+
+ # Create a sanitized config_vars.mk
+ build/config_vars.out: build/config_vars.mk
[email protected]@ -165,7 +174,6 @@
+
+ install-other:
+ @test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
+- @test -d $(DESTDIR)$(runtimedir) || $(MKINSTALLDIRS) $(DESTDIR)$(runtimedir)
+ @for ext in dll x; do \
+ file=apachecore.$$ext; \
+ if test -f $$file; then \