pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-lxml py-lxml: Remove -isysroot, breaks bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d4929f2dd32
branches:  trunk
changeset: 330904:3d4929f2dd32
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Mar 07 18:01:20 2019 +0000

description:
py-lxml: Remove -isysroot, breaks build on Darwin.

diffstat:

 textproc/py-lxml/distinfo                   |   3 ++-
 textproc/py-lxml/patches/patch-setupinfo.py |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r aea97c4947bc -r 3d4929f2dd32 textproc/py-lxml/distinfo
--- a/textproc/py-lxml/distinfo Thu Mar 07 16:43:27 2019 +0000
+++ b/textproc/py-lxml/distinfo Thu Mar 07 18:01:20 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.46 2019/03/01 08:46:12 adam Exp $
+$NetBSD: distinfo,v 1.47 2019/03/07 18:01:20 jperkin Exp $
 
 SHA1 (lxml-4.3.2.tar.gz) = 947323bf70f93da8ddb8611cbcb9ee98e42b5980
 RMD160 (lxml-4.3.2.tar.gz) = 22af7a760dbe3b5bb0dfd7d2c21f8105287df60c
 SHA512 (lxml-4.3.2.tar.gz) = 9536e0dd58f43c3760b57d8e2f2ec7e365e6c27f3bc7276fac4877f7665ffd19a4f9613c9e55d6b295c3045a89cc7f62f35c4dcd6a7b61f46f85d14d1a4f0283
 Size (lxml-4.3.2.tar.gz) = 4380761 bytes
+SHA1 (patch-setupinfo.py) = 264e934a4e5c095b0a65769798bf94db394d03e1
diff -r aea97c4947bc -r 3d4929f2dd32 textproc/py-lxml/patches/patch-setupinfo.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-lxml/patches/patch-setupinfo.py       Thu Mar 07 18:01:20 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setupinfo.py,v 1.1 2019/03/07 18:01:21 jperkin Exp $
+
+Do not use -isysroot on Darwin, causes wrapper issues.
+
+--- setupinfo.py.orig  2019-01-04 15:34:22.000000000 +0000
++++ setupinfo.py
+@@ -130,7 +130,7 @@ def ext_modules(static_include_dirs, sta
+         ])
+     _library_dirs = _prefer_reldirs(base_dir, library_dirs(static_library_dirs))
+     _cflags = cflags(static_cflags)
+-    _ldflags = ['-isysroot', get_xcode_isysroot()] if sys.platform == 'darwin' else None
++    _ldflags = ['-isysroot', get_xcode_isysroot()] if sys.platform == 'notdarwin' else None
+     _define_macros = define_macros()
+     _libraries = libraries()
+ 



Home | Main Index | Thread Index | Old Index