]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/blob - apache-mod_auth_ldap-makefile.patch
- add destdir support and change lib name
[packages/apache1-mod_auth_ldap.git] / apache-mod_auth_ldap-makefile.patch
1 --- ./Makefile.in.orig  Fri Aug 10 21:03:22 2001
2 +++ ./Makefile.in       Fri Aug 10 21:07:45 2001
3 @@ -14,7 +14,7 @@
4  AIX_LDFLAGS_SHLIB=@AIX_LDFLAGS_SHLIB@
5  MYCC=@MYCC@
6  
7 -all: auth_ldap.so
8 +all: mod_auth_ldap.so
9  
10  html: FAQ.html Changes.html auth_ldap.html
11  
12 @@ -27,7 +27,7 @@
13  LD_SHLIB=`$(APXS) -q LD_SHLIB`
14  LDFLAGS_SHLIB=$(EXTRA_LDFLAGS) `$(APXS) -q LDFLAGS_SHLIB` $(AIX_LDFLAGS_SHLIB)
15  
16 -auth_ldap.so: $(OBJS) $(AIX_EXP)
17 +mod_auth_ldap.so: $(OBJS) $(AIX_EXP)
18         @echo $(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(OBJS) $(LIBS)
19         @$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(OBJS) $(LIBS) 
20  
21 @@ -46,8 +46,9 @@
22         cd .. && tar cvzf $$tar $$dirname/ --exclude-from=/tmp/excl.$$$$; \
23         rm -f /tmp/excl.$$$$
24  
25 -install: auth_ldap.so
26 -       $(APXS) -i $(ACTIVATE) auth_ldap.so
27 +install: mod_auth_ldap.so
28 +       mkdir -p $(DESTDIR)/usr/lib/apache
29 +       install $< $(DESTDIR)/usr/lib/apache
30  
31  clean:
32         rm -f *.so *.o *~ core $(AIX_EXP) TAGS 
This page took 0.073119 seconds and 4 git commands to generate.