mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
less: bump to 531, install-strip.
This commit is contained in:
@@ -6,11 +6,11 @@ large input files it starts up faster than text editors like 'vi'.
|
||||
Less uses 'termcap' (or 'terminfo' on some systems), so it can run on a \
|
||||
variety of terminals. There is even limited support for hardcopy terminals."
|
||||
HOMEPAGE="http://www.greenwoodsoftware.com/less/"
|
||||
COPYRIGHT="1984-2017 Mark Nudelman"
|
||||
COPYRIGHT="1984-2018 Mark Nudelman"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.greenwoodsoftware.com/less/less-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c617f2e2"
|
||||
CHECKSUM_SHA256="9589febed76c71017e91e4fdaaa63490aa916d949a20459386b33d81ce16b6f5"
|
||||
PATCHES="less-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="sysless.in"
|
||||
|
||||
@@ -54,7 +54,7 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
make install-strip
|
||||
|
||||
syslessDir=$settingsDir/etc
|
||||
mkdir $syslessDir
|
||||
@@ -63,3 +63,8 @@ INSTALL()
|
||||
$binDir/lesskey -o "$syslessDir/sysless" \
|
||||
"$syslessDir/sysless.src"
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
@@ -5,10 +5,10 @@ Subject: import fix from previous version
|
||||
|
||||
|
||||
diff --git a/cmdbuf.c b/cmdbuf.c
|
||||
index db5b259..d111ef6 100644
|
||||
index fd8729e..1ebe299 100644
|
||||
--- a/cmdbuf.c
|
||||
+++ b/cmdbuf.c
|
||||
@@ -1360,7 +1360,11 @@ mlist_size(ml)
|
||||
@@ -1398,7 +1398,11 @@ mlist_size(ml)
|
||||
static char *
|
||||
histfile_name()
|
||||
{
|
||||
@@ -20,7 +20,7 @@ index db5b259..d111ef6 100644
|
||||
char *name;
|
||||
int len;
|
||||
|
||||
@@ -1378,6 +1382,13 @@ histfile_name()
|
||||
@@ -1416,6 +1420,13 @@ histfile_name()
|
||||
if (strcmp(LESSHISTFILE, "") == 0 || strcmp(LESSHISTFILE, "-") == 0)
|
||||
return (NULL);
|
||||
|
||||
@@ -34,7 +34,7 @@ index db5b259..d111ef6 100644
|
||||
/* Otherwise, file is in $HOME. */
|
||||
home = lgetenv("HOME");
|
||||
if (home == NULL || *home == '\0')
|
||||
@@ -1388,6 +1399,7 @@ histfile_name()
|
||||
@@ -1426,6 +1437,7 @@ histfile_name()
|
||||
#endif
|
||||
return (NULL);
|
||||
}
|
||||
@@ -134,5 +134,5 @@ index fa1ab6d..a1d39e7 100644
|
||||
else if ((p = getenv("INIT")) != NULL && *p != '\0')
|
||||
pathname = mkpathname(p, filename);
|
||||
--
|
||||
2.14.2
|
||||
2.17.0
|
||||
|
||||
Reference in New Issue
Block a user