less: update to 590, use pcre2

This commit is contained in:
Lucy Phipps 2021-09-13 16:46:25 +01:00
parent 35c7c3f698
commit bae60e5517
No known key found for this signature in database
GPG Key ID: 8F688A3DB7869BFE
2 changed files with 6 additions and 30 deletions

View File

@ -1,9 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://www.greenwoodsoftware.com/less/
TERMUX_PKG_HOMEPAGE=https://www.greenwoodsoftware.com/less/
TERMUX_PKG_DESCRIPTION="Terminal pager program used to view the contents of a text file one screen at a time"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=563
TERMUX_PKG_SRCURL=http://www.greenwoodsoftware.com/less/less-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ce5b6d2b9fc4442d7a07c93ab128d2dff2ce09a1d4f2d055b95cf28dd0dc9a9a
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_VERSION=590
TERMUX_PKG_SRCURL=https://www.greenwoodsoftware.com/less/less-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10
TERMUX_PKG_DEPENDS="ncurses, pcre2"
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-regex=pcre2"

View File

@ -1,25 +0,0 @@
Index: SOURCES/less-multilib.patch
diff -u /dev/null SOURCES/less-multilib.patch:1.1
--- /dev/null Fri Mar 2 18:37:48 2007
+++ less-multilib.patch Fri Mar 2 18:37:43 2007
@@ -0,0 +1,19 @@
+--- less-394/Makefile.in.orig 2007-03-02 17:40:55.000000000 +0100
++++ less-394/Makefile.in 2007-03-02 17:41:38.000000000 +0100
+@@ -51,13 +51,13 @@
+ all: less lesskey lessecho
+
+ less: ${OBJ}
+- ${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ} ${LIBS}
+
+ lesskey: lesskey.${O} version.${O}
+- ${CC} ${LDFLAGS} -o $@ lesskey.${O} version.${O}
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lesskey.${O} version.${O}
+
+ lessecho: lessecho.${O} version.${O}
+- ${CC} ${LDFLAGS} -o $@ lessecho.${O} version.${O}
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lessecho.${O} version.${O}
+
+ ${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h defines.h
+