pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-meson py-meson: add workaround for rpath stri...
details: https://anonhg.NetBSD.org/pkgsrc/rev/083d9313ac87
branches: trunk
changeset: 376094:083d9313ac87
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Feb 25 20:27:41 2018 +0000
description:
py-meson: add workaround for rpath stripping.
By default, meson strips all rpaths, see
https://github.com/mesonbuild/meson/issues/314
Remove the stripping (which might leave build rpaths inside installed binaries
but at least gives us runnable binaries) until meson fixes this properly.
Bump PKGREVISION.
diffstat:
devel/py-meson/Makefile | 3 +-
devel/py-meson/distinfo | 3 +-
devel/py-meson/patches/patch-mesonbuild_scripts_meson__install.py | 15 ++++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r d6240a22dbda -r 083d9313ac87 devel/py-meson/Makefile
--- a/devel/py-meson/Makefile Sun Feb 25 20:17:55 2018 +0000
+++ b/devel/py-meson/Makefile Sun Feb 25 20:27:41 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2018/02/25 20:17:42 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2018/02/25 20:27:41 wiz Exp $
DISTNAME= meson-0.44.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/meson/}
diff -r d6240a22dbda -r 083d9313ac87 devel/py-meson/distinfo
--- a/devel/py-meson/distinfo Sun Feb 25 20:17:55 2018 +0000
+++ b/devel/py-meson/distinfo Sun Feb 25 20:27:41 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2018/02/25 20:17:42 wiz Exp $
+$NetBSD: distinfo,v 1.7 2018/02/25 20:27:41 wiz Exp $
SHA1 (meson-0.44.1.tar.gz) = 7ac668ee883c4075aa5348e5daedf4c737a6925d
RMD160 (meson-0.44.1.tar.gz) = 1257a3e2b5f6837a59ef4cdf632a00bba1ff601d
SHA512 (meson-0.44.1.tar.gz) = 3c350d1752ae4463ec47060e051d79cc0855385e9552deff34fad8431175fb5d0f04b51a242f8f8f737726d06e504339d6b02a5aa9558ee673fb867dbb4e5b2d
Size (meson-0.44.1.tar.gz) = 1136337 bytes
+SHA1 (patch-mesonbuild_scripts_meson__install.py) = 2a3185ac5814a23040ebe44b21c45c0115daa7ed
diff -r d6240a22dbda -r 083d9313ac87 devel/py-meson/patches/patch-mesonbuild_scripts_meson__install.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-meson/patches/patch-mesonbuild_scripts_meson__install.py Sun Feb 25 20:27:41 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-mesonbuild_scripts_meson__install.py,v 1.1 2018/02/25 20:27:41 wiz Exp $
+
+This is an incorrect fix to the problem that meson strips out all rpaths.
+For a longer discussion, see https://github.com/mesonbuild/meson/issues/314
+
+--- mesonbuild/scripts/meson_install.py.orig 2018-02-20 21:48:57.000000000 +0000
++++ mesonbuild/scripts/meson_install.py
+@@ -353,7 +353,6 @@ def install_targets(d):
+ if is_elf_platform() and os.path.isfile(outname):
+ try:
+ e = depfixer.Elf(outname, False)
+- e.fix_rpath(install_rpath)
+ except SystemExit as e:
+ if isinstance(e.code, int) and e.code == 0:
+ pass
Home |
Main Index |
Thread Index |
Old Index