add app-admin/apache-toos-2.4.18
[portage-squeep] / app-admin / apache-tools / files / apache-tools-2.4.7-Makefile.patch
1 https://bugs.gentoo.org/459446
2
3 https://raw.github.com/archlinuxcn/repo/master/apache-tools/apache-tools-Makefile.patch
4
5 --- a/support/Makefile.in
6 +++ b/support/Makefile.in
7 @@ -1,9 +1,9 @@
8 DISTCLEAN_TARGETS = apxs apachectl dbmmanage log_server_status \
9 - logresolve.pl phf_abuse_log.cgi split-logfile envvars-std
10 + logresolve.pl phf_abuse_log.cgi split-logfile
11
12 CLEAN_TARGETS = suexec
13
14 -bin_PROGRAMS = htpasswd htdigest htdbm ab logresolve httxt2dbm
15 +bin_PROGRAMS = htpasswd htdigest htdbm ab logresolve httxt2dbm dbmmanage
16 sbin_PROGRAMS = htcacheclean rotatelogs $(NONPORTABLE_SUPPORT)
17 TARGETS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
18
19 @@ -15,26 +15,18 @@
20 install:
21 @test -d $(DESTDIR)$(bindir) || $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
22 @test -d $(DESTDIR)$(sbindir) || $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
23 - @test -d $(DESTDIR)$(libexecdir) || $(MKINSTALLDIRS) $(DESTDIR)$(libexecdir)
24 - @cp -p $(top_builddir)/server/httpd.exp $(DESTDIR)$(libexecdir)
25 - @for i in apxs dbmmanage; do \
26 + @for i in $(bin_PROGRAMS); do \
27 if test -f "$(builddir)/$$i"; then \
28 cp -p $$i $(DESTDIR)$(bindir); \
29 chmod 755 $(DESTDIR)$(bindir)/$$i; \
30 fi ; \
31 done
32 - @for i in apachectl; do \
33 + @for i in $(sbin_PROGRAMS); do \
34 if test -f "$(builddir)/$$i"; then \
35 cp -p $$i $(DESTDIR)$(sbindir); \
36 chmod 755 $(DESTDIR)$(sbindir)/$$i; \
37 fi ; \
38 done
39 - @if test -f "$(builddir)/envvars-std"; then \
40 - cp -p envvars-std $(DESTDIR)$(sbindir); \
41 - if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
42 - cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
43 - fi ; \
44 - fi
45
46 htpasswd.lo: passwd_common.h
47 passwd_common.lo: passwd_common.h