--- embedaddon/build.sh 2012/10/09 09:14:35 1.6.2.8 +++ embedaddon/build.sh 2013/07/22 08:30:41 1.8.2.1 @@ -4,7 +4,7 @@ # # ./build.sh [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: build.sh,v 1.6.2.8 2012/10/09 09:14:35 misho Exp $ +# $Id: build.sh,v 1.8.2.1 2013/07/22 08:30:41 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} @@ -281,7 +283,8 @@ case $CMD in ;; pcre) cd pcre - ./configure --enable-utf8 --enable-unicode-properties ${PFX} + ./configure --enable-utf --enable-unicode-properties --enable-pcre8 \ + --enable-pcre16 --enable-pcre32 ${PFX} ${MK} clean ${MK} ${MK} install