No more toolchain-funcs in exlibs.

This commit is contained in:
Daniel Mierswa 2010-01-17 14:04:45 +01:00
parent cd97a68da0
commit babab4ce51

View file

@ -1,8 +1,6 @@
# Copyright 2008 Daniel Mierswa <impulze@impulze.org> # Copyright 2008 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require toolchain-funcs
export_exlib_phases src_prepare src_install export_exlib_phases src_prepare src_install
HOMEPAGE_BASE="http://cr.yp.to" HOMEPAGE_BASE="http://cr.yp.to"
@ -22,17 +20,17 @@ djb_src_prepare() {
sed \ sed \
-e "/^gcc/s:.*:& ${CPPFLAGS} ${CFLAGS}:" \ -e "/^gcc/s:.*:& ${CPPFLAGS} ${CFLAGS}:" \
-e "/^gcc/s:gcc:$(tc-getCC):" \ -e "/^gcc/s:gcc:${CC}:" \
-i "${basedir}/conf-cc" || die "sed ${basedir}/conf-cc failed" -i "${basedir}/conf-cc" || die "sed ${basedir}/conf-cc failed"
sed \ sed \
-e "/^gcc/s:.*:& ${LDFLAGS}:" \ -e "/^gcc/s:.*:& ${LDFLAGS}:" \
-e "/^gcc/s:gcc:$(tc-getCC):" \ -e "/^gcc/s:gcc:${LD}:" \
-i "${basedir}/conf-ld" || die "sed ${basedir}/conf-ld failed" -i "${basedir}/conf-ld" || die "sed ${basedir}/conf-ld failed"
sed \ sed \
-e "/echo 'ar cr/s:ar:$(tc-getAR):" \ -e "/echo 'ar cr/s:ar:${AR}:" \
-e "/*) echo 'ranlib \"\\$/s:ranlib:$(tc-getRANLIB):" \ -e "/*) echo 'ranlib \"\\$/s:ranlib:${RANLIB}:" \
-i "${ranlib_file}" || die "sed ${ranlib_file} failed" -i "${ranlib_file}" || die "sed ${ranlib_file} failed"
if [ -f "${basedir}/auto-str.c" ] ; then if [ -f "${basedir}/auto-str.c" ] ; then