48 |
mpatch ${PNAME}-2.1.22-qa.patch || die |
mpatch ${PNAME}-2.1.22-qa.patch || die |
49 |
mpatch ${PNAME}-${PVER}-size_t.patch || die |
mpatch ${PNAME}-${PVER}-size_t.patch || die |
50 |
# fix autoconf issues |
# fix autoconf issues |
51 |
#mpatch ${PNAME}-${PVER}-maintainer_mode.patch || die |
mpatch ${PNAME}-${PVER}-maintainer_mode.patch || die |
52 |
# use libtool |
# use libtool |
53 |
mpatch ${PNAME}-${PVER}-saslauthd_ac_prog_libtool.patch || die |
mpatch ${PNAME}-${PVER}-saslauthd_ac_prog_libtool.patch || die |
54 |
# fix as-needed issues |
# fix as-needed issues |
70 |
sed -i 's:^sasldir = .*$:sasldir = $(plugindir):' ${SRCDIR}/plugins/Makefile.{am,in} || die |
sed -i 's:^sasldir = .*$:sasldir = $(plugindir):' ${SRCDIR}/plugins/Makefile.{am,in} || die |
71 |
|
|
72 |
# recreate configure |
# recreate configure |
73 |
|
rm -f config/config.guess config/config.sub || die |
74 |
|
rm -f config/ltconfig config/ltmain.sh config/libtool.m4 || die |
75 |
|
rm -fr autom4te.cache || die |
76 |
|
mlibtoolize || die |
77 |
# use full pathes or automake fails in subdirs |
# use full pathes or automake fails in subdirs |
78 |
mautoreconf -I $(pwd)/cmulocal -I $(pwd)/config || die |
mautoreconf -I $(pwd)/cmulocal -I $(pwd)/config || die |
79 |
} |
} |