pkgsrc-WIP-changes archive

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

lldb-git: Improve support for tests on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Dec 7 23:01:20 2015 +0100
Changeset:	f531c87c373424353a10e7c5aa04804862c06f0c

Modified Files:
	lldb-git/distinfo
Added Files:
	lldb-git/patches/patch-lldb_packages_Python_lldbsuite_test_lldbtest.py

Log Message:
lldb-git: Improve support for tests on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f531c87c373424353a10e7c5aa04804862c06f0c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb-git/distinfo                                           |  1 +
 .../patch-lldb_packages_Python_lldbsuite_test_lldbtest.py   | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/lldb-git/distinfo b/lldb-git/distinfo
index 8f705cd..29796eb 100644
--- a/lldb-git/distinfo
+++ b/lldb-git/distinfo
@@ -19,6 +19,7 @@ SHA1 (patch-lldb_include_lldb_Utility_regengine.inc) = 0d89a51d088f12595b2bac586
 SHA1 (patch-lldb_include_lldb_Utility_regex2.h) = 29baebb18b53d4b7782400bee273737e4bfbcb75
 SHA1 (patch-lldb_include_lldb_Utility_regex__impl.h) = 438ea79c00a2aab9c48af766dc4772a4bcf0b60b
 SHA1 (patch-lldb_include_lldb_Utility_regutils.h) = 32720727b719332123135536bdb4240cfc9db928
+SHA1 (patch-lldb_packages_Python_lldbsuite_test_lldbtest.py) = b8adc55f06e82b76f638b9cb8e9a85b838a88e80
 SHA1 (patch-lldb_scripts_CMakeLists.txt) = 7381e2905b2582c49e13f1e1190f3b4192271e68
 SHA1 (patch-lldb_source_Utility_CMakeLists.txt) = 30a81e6b255c542011e2d9162f2516739df18c31
 SHA1 (patch-lldb_source_Utility_regcomp.c) = 053fb3a61237d05e5f5ef26ab7f3be78240615e6
diff --git a/lldb-git/patches/patch-lldb_packages_Python_lldbsuite_test_lldbtest.py b/lldb-git/patches/patch-lldb_packages_Python_lldbsuite_test_lldbtest.py
new file mode 100644
index 0000000..bcedb94
--- /dev/null
+++ b/lldb-git/patches/patch-lldb_packages_Python_lldbsuite_test_lldbtest.py
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- lldb/packages/Python/lldbsuite/test/lldbtest.py.orig	2015-12-07 21:32:38.000000000 +0000
++++ lldb/packages/Python/lldbsuite/test/lldbtest.py
+@@ -2106,7 +2106,7 @@ class Base(unittest2.TestCase):
+                  'FRAMEWORK_INCLUDES' : "-F%s" % lib_dir,
+                  'LD_EXTRAS' : "%s -Wl,-rpath,%s" % (dsym, lib_dir),
+                 }
+-        elif sys.platform.startswith('freebsd') or sys.platform.startswith("linux") or os.environ.get('LLDB_BUILD_TYPE') == 'Makefile':
++        elif sys.platform.rstrip('123456789') in ('freebsd', 'linux', 'netbsd') or os.environ.get('LLDB_BUILD_TYPE') == 'Makefile':
+             d = {'CXX_SOURCES' : sources,
+                  'EXE' : exe_name,
+                  'CFLAGS_EXTRAS' : "%s %s -I%s" % (stdflag, stdlibflag, os.path.join(os.environ["LLDB_SRC"], "include")),


Home | Main Index | Thread Index | Old Index