]> git.pld-linux.org Git - packages/cyrus-sasl.git/blob - cyrus-sasl-parallel-make.patch
- tabs
[packages/cyrus-sasl.git] / cyrus-sasl-parallel-make.patch
1 diff -ur cyrus-sasl-2.1.23.orig/plugins/Makefile.am cyrus-sasl-2.1.23/plugins/Makefile.am
2 --- cyrus-sasl-2.1.23.orig/plugins/Makefile.am  2009-12-09 08:19:06.981152890 +0000
3 +++ cyrus-sasl-2.1.23/plugins/Makefile.am       2009-12-09 08:33:41.561911411 +0000
4 @@ -186,8 +186,8 @@
5  
6  CLEANFILES=$(init_src)
7  
8 -${init_src}: $(srcdir)/makeinit.sh
9 -       $(SHELL) $(srcdir)/makeinit.sh
10 +${init_src}: $(srcdir)/makeinit.sh $@
11 +       $(SHELL) $(srcdir)/makeinit.sh $@
12  
13  # Compatibility function build rules (they build in lib/)
14  $(COMPAT_OBJS):
15 diff -ur cyrus-sasl-2.1.23.orig/plugins/makeinit.sh cyrus-sasl-2.1.23/plugins/makeinit.sh
16 --- cyrus-sasl-2.1.23.orig/plugins/makeinit.sh  2009-12-09 08:19:06.921144397 +0000
17 +++ cyrus-sasl-2.1.23/plugins/makeinit.sh       2009-12-09 08:25:31.644442215 +0000
18 @@ -1,5 +1,6 @@
19 -for mech in anonymous crammd5 digestmd5 gssapiv2 kerberos4 login ntlm otp passdss plain srp; do
20 -
21 +mech="${1%_init.c}"
22 +case "$mech" in
23 +       anonymous|crammd5|digestmd5|gssapiv2|kerberos4|login|ntlm|otp|passdss|plain|srp)
24  echo "
25  #include <config.h>
26  
27 @@ -43,10 +44,9 @@
28  SASL_CLIENT_PLUG_INIT( $mech )
29  SASL_SERVER_PLUG_INIT( $mech )
30  " > ${mech}_init.c
31 -done
32 -
33 -for mech in sasldb mysql pgsql sqlite ldapdb; do
34 +;;
35  
36 +       sasldb|mysql|pgsql|sqlite|ldapdb)
37  echo "
38  #include <config.h>
39  
40 @@ -85,5 +85,6 @@
41  
42  SASL_AUXPROP_PLUG_INIT( $mech )
43  " > ${mech}_init.c
44 -done
45 +;;
46 +esac
47  
This page took 0.034051 seconds and 3 git commands to generate.