diff options
Diffstat (limited to 'stage1.sh')
-rwxr-xr-x | stage1.sh | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -158,11 +158,11 @@ mcd() getsb() { SOUT=${2:-$SLACKSOURCE} - PKGDIR=$(find $SLACKSOURCE_LOCAL/ -maxdepth 2 -type d -name $1) + PKGDIR=$(dirname $(find $SLACKSOURCE_LOCAL/ -maxdepth 3 -type f -name $1.SlackBuild)) if [ -n "$PKGDIR" -a -d $PKGDIR ]; then true else - PKGDIR=$(find $SLACKROOT/source -maxdepth 2 -type d -name $1) + PKGDIR=$(dirname $(find $SLACKROOT/source -maxdepth 3 -type f -name $1.SlackBuild)) fi if [ -n "$PKGDIR" -a -d $PKGDIR ]; then echo "Using sources at '$PKGDIR'" @@ -701,8 +701,13 @@ EOF coreutils ) getsb coreutils mcd $BUILDDIR/coreutils - $SLACKSOURCE/coreutils/coreutils-*/configure $TCONFIGARGS + cat <<EOF > config.cache +fu_cv_sys_stat_statfs2_bsize=yes +gl_cv_func_working_mkstemp=yes +EOF + $SLACKSOURCE/coreutils/coreutils-*/configure $TCONFIGARGS --cache-file=config.cache PERL=NO notparallel + mkdir -p man for i in $(cd $SLACKSOURCE/coreutils/coreutils-*/man; echo *.x) do base=`echo $i | sed 's/\.x//'` |