add app-admin/apache-toos-2.4.18
[portage-squeep] / app-admin / apache-tools / files / apache-tools-2.2.20-Makefile.patch
1 === modified file 'support/Makefile.in'
2 --- a/support/Makefile.in
3 +++ b/support/Makefile.in
4 @@ -1,9 +1,10 @@
5 DISTCLEAN_TARGETS = apxs apachectl dbmmanage log_server_status \
6 - logresolve.pl phf_abuse_log.cgi split-logfile envvars-std
7 + logresolve.pl phf_abuse_log.cgi split-logfile
8
9 CLEAN_TARGETS = suexec
10
11 -PROGRAMS = htpasswd htdigest rotatelogs logresolve ab htdbm htcacheclean httxt2dbm $(NONPORTABLE_SUPPORT)
12 +PROGRAMS = htpasswd htdigest rotatelogs logresolve ab htdbm htcacheclean httxt2dbm \
13 + $(NONPORTABLE_SUPPORT) log_server_status split-logfile dbmmanage
14 TARGETS = $(PROGRAMS)
15
16 PROGRAM_LDADD = $(UTIL_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) $(AP_LIBS)
17 @@ -12,22 +13,13 @@
18 include $(top_builddir)/build/rules.mk
19
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 apachectl dbmmanage; do \
26 + @for i in $(PROGRAMS) ; do \
27 if test -f "$(builddir)/$$i"; then \
28 cp -p $$i $(DESTDIR)$(sbindir); \
29 chmod 755 $(DESTDIR)$(sbindir)/$$i; \
30 fi ; \
31 done
32 - @if test -f "$(builddir)/envvars-std"; then \
33 - cp -p envvars-std $(DESTDIR)$(sbindir); \
34 - if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
35 - cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
36 - fi ; \
37 - fi
38
39 htpasswd_OBJECTS = htpasswd.lo
40 htpasswd: $(htpasswd_OBJECTS)
41