--- elwix/config/rc.3thparty_helper 2014/01/07 08:48:01 1.1.2.2 +++ elwix/config/rc.3thparty_helper 2014/01/07 09:26:42 1.1.2.3 @@ -4,7 +4,7 @@ # # ./rc.3thparty_helper [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: rc.3thparty_helper,v 1.1.2.2 2014/01/07 08:48:01 misho Exp $ +# $Id: rc.3thparty_helper,v 1.1.2.3 2014/01/07 09:26:42 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -52,7 +52,7 @@ if [ $P = "/tmp/elwix" ]; then install -d /tmp/elwix/share fi -find . -name .deps -type d -exec rm -rf {} \; +find ${ADDSRC} -name .deps -type d -exec rm -rf {} \; case $CMD in sudo) @@ -202,7 +202,8 @@ case $CMD in ${MK} install || exit 1 echo ">>> Building arping ..." cd ${ADDSRC}/arping - env LDFLAGS=-L${TOP}/libnet/src CFLAGS=-I${TOP}/libnet/include ./configure ${PFX} || exit 1 + env LDFLAGS=-L${ADDSRC}/libnet/src CFLAGS=-I${ADDSRC}/libnet/include \ + ./configure ${PFX} || exit 1 ${MK} clean || exit 1 ${MK} || exit 1 ${MK} install || exit 1