From ebb50878810cf424c657a3b1998fd034d1277e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Mon, 2 Jan 2023 11:40:08 +0100 Subject: groups/211.native_packages_cmdline.group: tree: bump to v2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- groups/211.native_packages_cmdline.group | 4 ++-- patches/tree-2.0.4_pre.local.patch | 21 --------------------- patches/tree-2.1.0_pre.local.patch | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 patches/tree-2.0.4_pre.local.patch create mode 100644 patches/tree-2.1.0_pre.local.patch diff --git a/groups/211.native_packages_cmdline.group b/groups/211.native_packages_cmdline.group index 24551304..b3ae50b6 100644 --- a/groups/211.native_packages_cmdline.group +++ b/groups/211.native_packages_cmdline.group @@ -258,8 +258,8 @@ libopts_cv_run_fopen_binary=yes"}; : ${PKG_TOILET_DEPENDS:="libcaca"}; : ${PKG_TOILET_URLS_GIT:=toilet=https://github.com/cacalabs/toilet@master}; : ${PKG_TOILET_ENV_VARS_EXTRA:="CACA_CFLAGS=-I${PREFIX_NATIVE}/include:CACA_LIBS=-L${PREFIX_NATIVE} -lcaca"}; -: ${PKG_TREE_SHA256SUM:=b0ea92197849579a3f09a50dbefc3d4708caf555d304a830e16e20b73b4ffa74}; -: ${PKG_TREE_VERSION:=2.0.4}; +: ${PKG_TREE_SHA256SUM:=0160c535bff2b0dc6a830b9944e981e3427380f63e748da96ced7071faebabf6}; +: ${PKG_TREE_VERSION:=2.1.0}; : ${PKG_TREE_URL:=http://mama.indstate.edu/users/ice/tree/src/tree-${PKG_TREE_VERSION}.tgz}; : ${PKG_TREE_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"}; : ${PKG_TREE_CFLAGS_BUILD_EXTRA:="-std=c99"}; diff --git a/patches/tree-2.0.4_pre.local.patch b/patches/tree-2.0.4_pre.local.patch deleted file mode 100644 index 2c868850..00000000 --- a/patches/tree-2.0.4_pre.local.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ru tree-2.0.4.orig/Makefile tree-2.0.4/Makefile ---- tree-2.0.4.orig/Makefile 2022-09-06 15:31:53.000000000 +0200 -+++ tree-2.0.4/Makefile 2022-09-10 22:06:29.081774574 +0200 -@@ -26,7 +26,7 @@ - DESTDIR=${PREFIX}/bin - MAN=tree.1 - # Probably needs to be ${PREFIX}/share/man for most systems now --MANDIR=${PREFIX}/man -+MANDIR=${DESTDIR}${PREFIX}/man - OBJS=tree.o list.o hash.o color.o file.o filter.o info.o unix.o xml.o json.o html.o strverscmp.o - - # Uncomment options below for your particular OS: -@@ -105,7 +105,7 @@ - install: tree - $(INSTALL) -d $(DESTDIR) - $(INSTALL) -d $(MANDIR)/man1 -- $(INSTALL) $(TREE_DEST) $(DESTDIR)/$(TREE_DEST); \ -+ $(INSTALL) $(TREE_DEST) $(DESTDIR)/bin/$(TREE_DEST); \ - $(INSTALL) -m 644 doc/$(MAN) $(MANDIR)/man1/$(MAN) - - distclean: diff --git a/patches/tree-2.1.0_pre.local.patch b/patches/tree-2.1.0_pre.local.patch new file mode 100644 index 00000000..2c868850 --- /dev/null +++ b/patches/tree-2.1.0_pre.local.patch @@ -0,0 +1,21 @@ +diff -ru tree-2.0.4.orig/Makefile tree-2.0.4/Makefile +--- tree-2.0.4.orig/Makefile 2022-09-06 15:31:53.000000000 +0200 ++++ tree-2.0.4/Makefile 2022-09-10 22:06:29.081774574 +0200 +@@ -26,7 +26,7 @@ + DESTDIR=${PREFIX}/bin + MAN=tree.1 + # Probably needs to be ${PREFIX}/share/man for most systems now +-MANDIR=${PREFIX}/man ++MANDIR=${DESTDIR}${PREFIX}/man + OBJS=tree.o list.o hash.o color.o file.o filter.o info.o unix.o xml.o json.o html.o strverscmp.o + + # Uncomment options below for your particular OS: +@@ -105,7 +105,7 @@ + install: tree + $(INSTALL) -d $(DESTDIR) + $(INSTALL) -d $(MANDIR)/man1 +- $(INSTALL) $(TREE_DEST) $(DESTDIR)/$(TREE_DEST); \ ++ $(INSTALL) $(TREE_DEST) $(DESTDIR)/bin/$(TREE_DEST); \ + $(INSTALL) -m 644 doc/$(MAN) $(MANDIR)/man1/$(MAN) + + distclean: -- cgit v1.2.3