--- embedaddon/build.sh 2012/07/06 13:21:28 1.6.2.7 +++ embedaddon/build.sh 2013/01/27 23:55:29 1.7.2.1 @@ -4,7 +4,7 @@ # # ./build.sh [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: build.sh,v 1.6.2.7 2012/07/06 13:21:28 misho Exp $ +# $Id: build.sh,v 1.7.2.1 2013/01/27 23:55:29 misho Exp $ # CMD=$1 @@ -43,10 +43,12 @@ if [ $P = "/tmp/elwix" ]; then install -d /tmp/elwix/share fi +find . -name .deps -type d -exec rm -rf {} \; + case $CMD in sudo) cd sudo - ./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \ + ./configure --sysconfdir=/etc --libexecdir=/usr/local/libexec --with-ignore-dot \ --with-tty-tickets --with-env-editor --with-logincap \ --with-long-otp-prompt --with-pam --with-logfac=local2 \ ${PFX} @@ -338,7 +340,7 @@ case $CMD in ;; istgt) cd istgt - ./configure ${PFX} + ./configure --enable-symlink-device ${PFX} ${MK} clean ${MK} install src/istgt ${P}/bin