2012-10-04 11:33:57 +02:00
|
|
|
LICENSE := GPLv3
|
2016-10-13 18:30:05 +02:00
|
|
|
VERSION := 487
|
2012-10-04 11:33:57 +02:00
|
|
|
DOWNLOADS := less.archive
|
|
|
|
|
2016-10-13 18:30:05 +02:00
|
|
|
URL(less) := https://ftp.gnu.org/gnu/less/less-$(VERSION).tar.gz
|
2018-05-07 16:45:50 +02:00
|
|
|
SHA(less) := f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706
|
2012-10-04 11:33:57 +02:00
|
|
|
SIG(less) := ${URL(less)}.sig
|
|
|
|
KEY(less) := GNU
|
|
|
|
DIR(less) := src/noux-pkg/less
|
|
|
|
|
noux-pkg/less: use LIBS when building tools
lesskey and lessecho missed the declaration of ${LIBS} on the compiler
command line, which ended up in unusable programs.
> file noux-pkg/less/lesskey.broken
noux-pkg/less/lesskey.broken: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter *empty*, not stripped
> file noux-pkg/less/lesskey
noux-pkg/less/lesskey: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter ld.lib.so, not stripped
The issue was identified because -O0 builds broke with
ld: lesskey: The first section in the PT_DYNAMIC segment is not the .dynamic section
Unfortunately, this simple fix renders both tools also dependent to libm
and ncurses which they don't use.
2017-01-25 13:03:51 +01:00
|
|
|
PATCHES := src/noux-pkg/less/tty_fd.patch src/noux-pkg/less/libs.patch
|