apache-tools-2.4.7-Makefile.patch 1.7 KB

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