summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2020-08-08 09:09:56 +1200
committerAndrew Clemons <andrew.clemons@gmail.com>2020-08-29 12:37:16 +1200
commit1178225bb5cb8e5c14ce36dd36bdf1d3441cfd56 (patch)
tree69d6db9850b72ed5999310158438cbfbf0de4f52 /system
parent6f3d57cd64de9efd89b7df5f74c60e68ecd02d33 (diff)
downloadslackbuilds-1178225bb5cb8e5c14ce36dd36bdf1d3441cfd56.tar.gz
system/jsawk: Support mozjs68 from -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/jsawk/jsawk.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/jsawk/jsawk.SlackBuild b/system/jsawk/jsawk.SlackBuild
index f691dd7458..cd2432898f 100644
--- a/system/jsawk/jsawk.SlackBuild
+++ b/system/jsawk/jsawk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jsawk
-# Copyright 2013,2016,2018-2019 Andrew Clemons, Wellington, New Zealand
+# Copyright 2013,2016,2018-2020 Andrew Clemons, Wellington, New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=jsawk
VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -47,8 +47,8 @@ cp $CWD/jsawk $PKG/usr/bin
chmod 0755 $PKG/usr/bin/jsawk
chown root:root $PKG/usr/bin/jsawk
-if command -v js60 > /dev/null 2>&1 ; then
- sed -i '/JSBIN=/s/-js/-js60/' $PKG/usr/bin/jsawk
+if command -v js68 > /dev/null 2>&1 ; then
+ sed -i '/JSBIN=/s/-js/-js68/' $PKG/usr/bin/jsawk
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION