summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Šrejma <marek@modweb.de>2022-10-05 22:15:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-08 09:12:44 +0700
commit5b76d99ce8a9da96858745f8d524064e685f75f5 (patch)
treec2868a0771cdb6db8c6fb34882532a69c07eaae2
parent75ed925c5049dd60c187d786e3650e8f516cace1 (diff)
downloadslackbuilds-5b76d99ce8a9da96858745f8d524064e685f75f5.tar.gz
network/luakit: Add Malloc=1 to ENV.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/luakit/luakit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/luakit/luakit.SlackBuild b/network/luakit/luakit.SlackBuild
index 68e3258216..30dfe90819 100644
--- a/network/luakit/luakit.SlackBuild
+++ b/network/luakit/luakit.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=luakit
VERSION=${VERSION:-2.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
LUAJIT=${LUAJIT:-0} # 0 or 1
@@ -80,6 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -e 's#(PREFIX)/lib/luakit#(LIBDIR)#g' -i Makefile
+sed -e "/^Exec=/ s/lua/env Malloc=1 lua/" -i extras/luakit.desktop
_CFLAGS=`grep CFLAGS config.mk | sed -e "s/CFLAGS\s*+=//g" | tr "\n" " "`
make install \