jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / web / apache24 / patches / Makefile.in.patch
blob95990eb03e2059bb8f74cecbd7d749b146abcdd1
1 --- Makefile.in Tue Nov 25 12:24:49 2008
2 +++ Makefile.in Tue Feb 28 07:08:05 2012
3 @@ -49,6 +49,9 @@
4 -e 's#@@Port@@#$(PORT)#g' \
5 -e 's#@@SSLPort@@#$(SSLPORT)#g' \
6 -e '/@@LoadModule@@/d' \
7 + -e 's#@@SysconfDir@@#$(sysconfdir)#g' \
8 + -e 's#@@RuntimeDir@@#$(runtimedir)#g' \
9 + -e 's#@@DataDir@@#$(datadir)#g' \
10 < $$i; \
11 else \
12 sed -n -e '/@@LoadModule@@/q' \
13 @@ -87,6 +90,19 @@
14 cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
15 fi ; \
17 + @if ! grep "{APACHE_USER_ENVVARS}" $(DESTDIR)$(sbindir)/envvars > /dev/null; then \
18 + echo '# If you run apachectl with APACHE_USER_ENVVARS in its environment'\
19 + >> $(DESTDIR)$(sbindir)/envvars ; \
20 + echo '# the specified file will be sourced here. The standard path is'\
21 + >> $(DESTDIR)$(sbindir)/envvars ; \
22 + echo '# /etc/apache2/2.4/envvars.' >> $(DESTDIR)$(sbindir)/envvars ; \
23 + echo '' >> $(DESTDIR)$(sbindir)/envvars ; \
24 + echo 'if [ "x$${APACHE_USER_ENVVARS}" != "x" -a -f "$${APACHE_USER_ENVVARS}" ]; then'\
25 + >> $(DESTDIR)$(sbindir)/envvars ; \
26 + echo '. "$${APACHE_USER_ENVVARS}"' >> $(DESTDIR)$(sbindir)/envvars ; \
27 + echo 'fi' >> $(DESTDIR)$(sbindir)/envvars ; \
28 + fi
29 + @grep "^#" $(top_builddir)/support/envvars-std > $(DESTDIR)$(sysconfdir)/envvars
31 # Create a sanitized config_vars.mk
32 build/config_vars.out: build/config_vars.mk
33 @@ -165,7 +181,6 @@
35 install-other:
36 @test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
37 - @test -d $(DESTDIR)$(runtimedir) || $(MKINSTALLDIRS) $(DESTDIR)$(runtimedir)
38 @for ext in dll x; do \
39 file=apachecore.$$ext; \
40 if test -f $$file; then \