summaryrefslogtreecommitdiffstats
path: root/source/a/less/less.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-11-24 20:55:37 +0000
committer Eric Hameleers <alien@slackware.com>2022-11-25 07:00:37 +0100
commita8f1aa5a10a2af9c4954e5334d8d0cb2c787b081 (patch)
tree1994af8a4ab171da12d5fe4eecd6de8103113686 /source/a/less/less.SlackBuild
parent65b9f8df0a7ec56770c39a7eb04a10610605608d (diff)
downloadcurrent-a8f1aa5a10a2af9c4954e5334d8d0cb2c787b081.tar.gz
current-a8f1aa5a10a2af9c4954e5334d8d0cb2c787b081.tar.xz
Thu Nov 24 20:55:37 UTC 202220221124205537
a/bash-5.2.012-x86_64-1.txz: Upgraded. a/less-612-x86_64-1.txz: Upgraded. a/tcsh-6.24.02-x86_64-1.txz: Upgraded. ap/vim-9.0.0942-x86_64-1.txz: Upgraded. d/make-4.4-x86_64-2.txz: Rebuilt. [SV 63307] Spawn children with the default disposition of sigpipe. Thanks to nobodino. d/ruby-3.1.3-x86_64-1.txz: Upgraded. This release includes a security fix: HTTP response splitting in CGI. For more information, see: https://www.cve.org/CVERecord?id=CVE-2021-33621 (* Security fix *) l/pipewire-0.3.61-x86_64-1.txz: Upgraded. n/ipset-7.16-x86_64-1.txz: Upgraded. x/fcitx5-5.0.21-x86_64-1.txz: Upgraded. xap/vim-gvim-9.0.0942-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/less/less.SlackBuild')
-rwxr-xr-xsource/a/less/less.SlackBuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/source/a/less/less.SlackBuild b/source/a/less/less.SlackBuild
index 6db39b350..002899a60 100755
--- a/source/a/less/less.SlackBuild
+++ b/source/a/less/less.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2005-2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2005-2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -83,6 +83,21 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
+
+# Prep needed if using the git archive:
+for file in funcs.h less.nro lesskey.nro lessecho.nro ; do
+ if [ ! -r $file ]; then
+ make -f Makefile.aut $file
+ fi
+done
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \