summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-04-03 13:15:44 +0200
committerLinus Groh <mail@linusgroh.de>2022-04-03 12:35:14 +0100
commit563d11c9777fb2248efa816c0c7b6a65fa1fea18 (patch)
treecdc85033505b868d4241540077899a5ae3bac82c /Ports
parent4c9fbea987a278e2a223be20cd88581fd3b7f3bd (diff)
downloadserenity-563d11c9777fb2248efa816c0c7b6a65fa1fea18.zip
Ports: Move luajit warning into `preconfigure`
Otherwise this message will be printed during other `package.sh` actions such as `showproperty`.
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/luajit/package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Ports/luajit/package.sh b/Ports/luajit/package.sh
index c807f19e43..625dc4c2af 100755
--- a/Ports/luajit/package.sh
+++ b/Ports/luajit/package.sh
@@ -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