1 https://bugs.gentoo.org/459446
3 https://raw.github.com/archlinuxcn/repo/master/apache-tools/apache-tools-Makefile.patch
5 --- a/support/Makefile.in
6 +++ b/support/Makefile.in
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
12 CLEAN_TARGETS = suexec
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)
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; \
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; \
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 ; \
46 htpasswd.lo: passwd_common.h
47 passwd_common.lo: passwd_common.h