summaryrefslogtreecommitdiffstats
path: root/stage1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stage1.sh')
-rwxr-xr-xstage1.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/stage1.sh b/stage1.sh
index f52cf4b..972bc92 100755
--- a/stage1.sh
+++ b/stage1.sh
@@ -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//'`