From 2d198085c851ebdd68527299fa59b1fdb3a75b2d Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 13 Jan 2022 22:30:27 +0000 Subject: fixed a few minor bugs --- repo/core/bzip2.xibuild | 6 +++--- repo/core/flex.xibuild | 2 +- repo/core/gcc.xibuild | 8 +++++--- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'repo/core') diff --git a/repo/core/bzip2.xibuild b/repo/core/bzip2.xibuild index 72a364c..f60aece 100644 --- a/repo/core/bzip2.xibuild +++ b/repo/core/bzip2.xibuild @@ -8,15 +8,15 @@ DESC="a selection of programs for compressing and decompressing bzip2 files" build () { - curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-1.0.8-install_docs-1.patch > bzip2-1.0.8-install_docs-1.patch + #curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-1.0.8-install_docs-1.patch > bzip2-1.0.8-install_docs-1.patch - patch -Np1 -i bzip2-1.0.8-install_docs-1.patch + #patch -Np1 -i bzip2-1.0.8-install_docs-1.patch # ensure symbolic links are relative sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile - sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile + #sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile make -f Makefile-libbz2_so make clean diff --git a/repo/core/flex.xibuild b/repo/core/flex.xibuild index 69f103c..f5291cc 100644 --- a/repo/core/flex.xibuild +++ b/repo/core/flex.xibuild @@ -13,7 +13,7 @@ build () { } package () { - ln -v flex $PKG_DEST/usr/bin/lex + ln -v /usr/bin/flex $PKG_DEST/usr/bin/lex } diff --git a/repo/core/gcc.xibuild b/repo/core/gcc.xibuild index 37132d1..ab9830d 100644 --- a/repo/core/gcc.xibuild +++ b/repo/core/gcc.xibuild @@ -36,9 +36,11 @@ build () { ulimit -s 32768 - chown -Rv tester . - su tester -c "PATH=$PATH make $MAKEFLAGS -k check" - ../contrib/test_summary | grep -A7 Summ + if id -u tester; then + chown -Rv tester . + su tester -c "PATH=$PATH make $MAKEFLAGS -k check" + ../contrib/test_summary | grep -A7 Summ + fi } -- cgit v1.2.1