From ac4a8c7e79d6d2c71d0c3c47305ec564544ec56e Mon Sep 17 00:00:00 2001 From: fosslinux Date: Tue, 28 Nov 2023 13:37:13 +1100 Subject: [PATCH] Install heirloom-devtools utility files to /usr/lib Before they were just in / for no real reason --- steps/flex-2.6.4/pass1.sh | 1 - steps/heirloom-devtools-070527/pass1.kaem | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/steps/flex-2.6.4/pass1.sh b/steps/flex-2.6.4/pass1.sh index 6fa9def..3ae7623 100755 --- a/steps/flex-2.6.4/pass1.sh +++ b/steps/flex-2.6.4/pass1.sh @@ -23,5 +23,4 @@ src_install() { # Remove yacc, we won't need it any longer rm "${PREFIX}/bin/yacc" - rm /yaccpar } diff --git a/steps/heirloom-devtools-070527/pass1.kaem b/steps/heirloom-devtools-070527/pass1.kaem index b91eda4..4224455 100755 --- a/steps/heirloom-devtools-070527/pass1.kaem +++ b/steps/heirloom-devtools-070527/pass1.kaem @@ -14,8 +14,6 @@ sha256sum -c sources.SHA256SUM mkdir build src cd build -lexdir=/lex - # Extract cp ${DISTFILES}/${pkg}.tar.bz2 ../src/ bunzip2 -f ../src/${pkg}.tar.bz2 @@ -40,10 +38,10 @@ cd ../lex make -f Makefile.mk CC=tcc AR=tcc\ -ar CFLAGS=-DEILSEQ=84\ -DMB_LEN_MAX=100 LDFLAGS=-lgetopt\ -static RANLIB=true # Install lex -mkdir ${LEXDIR} +mkdir ${LIBDIR}/lex install lex ${BINDIR} install libl.a ${LIBDIR} -install -m 644 ncform ${LEXDIR} +install -m 644 ncform ${LIBDIR}/lex cd ../../.. @@ -53,8 +51,8 @@ if match x${UPDATE_CHECKSUMS} xTrue; then /usr/bin/yacc \ /usr/bin/lex \ /usr/lib/mes/libl.a \ - /yaccpar \ - /lex/ncform + /usr/lib/mes/yaccpar \ + /usr/lib/mes/lex/ncform install ${pkg}.checksums ${SRCDIR} else