Ports: Move luajit warning into preconfigure

Otherwise this message will be printed during other `package.sh`
actions such as `showproperty`.
This commit is contained in:
Jelle Raaijmakers 2022-04-03 13:15:44 +02:00 committed by Linus Groh
parent 4c9fbea987
commit 563d11c977

View file

@ -5,7 +5,10 @@ files="https://luajit.org/download/LuaJIT-${version}.tar.gz LuaJIT-${version}.ta
auth_type=sha256
workdir="LuaJIT-${version}"
printf "\x1b[31m\x1b[5mATTENTION: \x1b[0m\x1b[31m\x1b[1mIf this fails, install either libc6-dev-i386 or libc6-dev-amd64\x1b[0m\n"
preconfigure() {
printf "\x1b[31m\x1b[5mATTENTION: \x1b[0m\x1b[31m\x1b[1mIf this fails, install either libc6-dev-i386 or libc6-dev-amd64\x1b[0m\n"
}
if [ ${SERENITY_ARCH} = "i686" ]; then
M_FLAG=-m32
elif [ ${SERENITY_ARCH} = "x86_64" ]; then