mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
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:
parent
4c9fbea987
commit
563d11c977
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ files="https://luajit.org/download/LuaJIT-${version}.tar.gz LuaJIT-${version}.ta
|
||||||
auth_type=sha256
|
auth_type=sha256
|
||||||
workdir="LuaJIT-${version}"
|
workdir="LuaJIT-${version}"
|
||||||
|
|
||||||
|
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"
|
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
|
if [ ${SERENITY_ARCH} = "i686" ]; then
|
||||||
M_FLAG=-m32
|
M_FLAG=-m32
|
||||||
elif [ ${SERENITY_ARCH} = "x86_64" ]; then
|
elif [ ${SERENITY_ARCH} = "x86_64" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue