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: Avoid more GNU ld flags on Su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d03c88c8733
branches:  trunk
changeset: 312519:0d03c88c8733
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 05 14:39:13 2018 +0000

description:
py-meson: Avoid more GNU ld flags on SunOS.

diffstat:

 devel/py-meson/distinfo                                |   3 ++-
 devel/py-meson/patches/patch-mesonbuild_compilers_c.py |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 97b23812745b -r 0d03c88c8733 devel/py-meson/distinfo
--- a/devel/py-meson/distinfo   Wed Sep 05 13:29:39 2018 +0000
+++ b/devel/py-meson/distinfo   Wed Sep 05 14:39:13 2018 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.12 2018/09/04 14:46:52 prlw1 Exp $
+$NetBSD: distinfo,v 1.13 2018/09/05 14:39:13 jperkin Exp $
 
 SHA1 (meson-0.47.2.tar.gz) = 58278fa1e65d4e9197b8e3ca8c3ca2bc4d8283d2
 RMD160 (meson-0.47.2.tar.gz) = 6941232c36102c9d5b7ebd4b42e38aca7d3a67d2
 SHA512 (meson-0.47.2.tar.gz) = 9d7cea6151b99dff0c34d72b63473aecf7565636ba2b48d9fe86ce25372d1c71a834654f4745ae29e0fcacffcad806a1f6d937bcf5fe88cd9b16b72bf2d62112
 Size (meson-0.47.2.tar.gz) = 1267957 bytes
 SHA1 (patch-mesonbuild_compilers_____init____.py) = b893759a6fa135f2da606ea487848701dbba037d
+SHA1 (patch-mesonbuild_compilers_c.py) = 2ff2b4b715b3fa233ae158fcf9ccff75c1dcd42b
 SHA1 (patch-mesonbuild_compilers_compilers.py) = ab44b1672b2d1cc6258b74590ac6bbf0fe502066
 SHA1 (patch-mesonbuild_environment.py) = 08957ccc7ee55f9d5b7f965309bbe5ad38aa23ce
 SHA1 (patch-mesonbuild_minstall.py) = e312e881db36dcee9fca6eadc10a7c6eab475f2b
diff -r 97b23812745b -r 0d03c88c8733 devel/py-meson/patches/patch-mesonbuild_compilers_c.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-meson/patches/patch-mesonbuild_compilers_c.py    Wed Sep 05 14:39:13 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-mesonbuild_compilers_c.py,v 1.1 2018/09/05 14:39:13 jperkin Exp $
+
+Support SunOS.
+
+--- mesonbuild/compilers/c.py.orig     2018-08-25 08:05:50.000000000 +0000
++++ mesonbuild/compilers/c.py
+@@ -162,7 +162,7 @@ class CCompiler(Compiler):
+             if self.gcc_type == compilers.GCC_OSX:
+                 # Apple ld
+                 return ['-Wl,-undefined,dynamic_lookup']
+-            else:
++            elif self.gcc_type != compilers.GCC_SUNOS:
+                 # GNU ld and LLVM lld
+                 return ['-Wl,--allow-shlib-undefined']
+         elif self.id == 'msvc':



Home | Main Index | Thread Index | Old Index