pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/elftoolchain elftoolchain: Don't require svn to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf5719338537
branches: trunk
changeset: 424164:cf5719338537
user: nia <nia%pkgsrc.org@localhost>
date: Fri Mar 06 11:40:00 2020 +0000
description:
elftoolchain: Don't require svn to build, and regenerate the PLIST
diffstat:
devel/elftoolchain/PLIST | 6 +-
devel/elftoolchain/distinfo | 3 +-
devel/elftoolchain/patches/patch-libelftc_make-toolchain-version | 32 ++++++++++
3 files changed, 35 insertions(+), 6 deletions(-)
diffs (84 lines):
diff -r 55b45606f019 -r cf5719338537 devel/elftoolchain/PLIST
--- a/devel/elftoolchain/PLIST Fri Mar 06 11:39:02 2020 +0000
+++ b/devel/elftoolchain/PLIST Fri Mar 06 11:40:00 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/10/01 12:36:35 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/03/06 11:40:00 nia Exp $
bin/addr2line
bin/ar
bin/brandelf
@@ -27,24 +27,20 @@
lib/libdwarf.so.3
lib/libdwarf.so.3.0
lib/libdwarf_p.a
-lib/libdwarf_pic.a
lib/libelf.a
lib/libelf.so
lib/libelf.so.1
lib/libelf.so.1.0
lib/libelf_p.a
-lib/libelf_pic.a
lib/libelftc.a
lib/libelftc.so
lib/libelftc.so.1
lib/libelftc.so.1.0
lib/libelftc_p.a
-lib/libelftc_pic.a
lib/libpe.a
lib/libpe.so
lib/libpe.so.1
lib/libpe_p.a
-lib/libpe_pic.a
man/man1/addr2line.1
man/man1/ar.1
man/man1/brandelf.1
diff -r 55b45606f019 -r cf5719338537 devel/elftoolchain/distinfo
--- a/devel/elftoolchain/distinfo Fri Mar 06 11:39:02 2020 +0000
+++ b/devel/elftoolchain/distinfo Fri Mar 06 11:40:00 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2018/10/01 12:36:35 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2020/03/06 11:40:00 nia Exp $
SHA1 (elftoolchain-0.7.1.tar.bz2) = fdab1804543e47887bd73f1177b723af21ab47ae
RMD160 (elftoolchain-0.7.1.tar.bz2) = 9e341f86573d80dd2b390d79cf82f239ecd279ff
@@ -9,3 +9,4 @@
SHA1 (patch-libelf_Makefile) = 29fdcead0e1d01ba2cf1d9e16e9d50bc041c9eec
SHA1 (patch-libelftc_Makefile) = 64990e254ca3c55615cc3746fa948d7e0ca1fcb4
SHA1 (patch-libelftc___libelftc.h) = db63ca28c25ccf92b9b15ffcaf016bf2bd3d291d
+SHA1 (patch-libelftc_make-toolchain-version) = a1c82a9bcfbf819f5712fbec4f4a3ad07f4abd11
diff -r 55b45606f019 -r cf5719338537 devel/elftoolchain/patches/patch-libelftc_make-toolchain-version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/elftoolchain/patches/patch-libelftc_make-toolchain-version Fri Mar 06 11:40:00 2020 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-libelftc_make-toolchain-version,v 1.1 2020/03/06 11:40:00 nia Exp $
+
+Avoid needing any VCS system.
+
+--- libelftc/make-toolchain-version.orig 2016-02-16 22:58:35.000000000 +0000
++++ libelftc/make-toolchain-version
+@@ -64,24 +64,7 @@ done
+ curdir=`pwd`
+ cd ${top} || usage "ERROR: Cannot change directory to \"${top}\"."
+
+-if [ -d CVS ]; then # Look for CVS (NetBSD).
+- versionstring=" cvs:unknown"
+-else # Try git (DragonFlyBSD).
+- gitversion="$(git describe --all --dirty --long 2> /dev/null)"
+- if [ -n "${gitversion}" ]; then
+- versionstring=" git:${gitversion}"
+- else # Assume an SVN checkout (SourceForge or FreeBSD).
+- svnversion="$(svnversion)"
+- if [ -n "${svnversion}" ]; then
+- versionstring=" svn:$(svnversion)"
+- fi
+- fi
+-fi
+-
+-if [ -z "${versionstring}" ]; then
+- echo "ERROR: cannot determine a revision number." 1>&2
+- exit 1
+-fi
++versionstring=" pkgsrc"
+
+ cd ${curdir} || usage "Cannot change back to ${curdir}."
+
Home |
Main Index |
Thread Index |
Old Index