pkgsrc-WIP-changes archive

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

lldb-netbsd: Correct installation of programs in bin/



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Dec 20 14:02:23 2016 +0100
Changeset:	6d171e723664bf781016b53125a6515e9c05e2e6

Modified Files:
	lldb-netbsd/PLIST
	lldb-netbsd/distinfo
	lldb-netbsd/patches/patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp
Added Files:
	lldb-netbsd/patches/patch-cmake_modules_AddLLDB.cmake

Log Message:
lldb-netbsd: Correct installation of programs in bin/

Cherry-pick patch from upstream bugzilla:
   https://llvm.org/bugs/show_bug.cgi?id=31433

Author Jeremy Huddleston Sequoia

Sponsored by <The NetBSD Foundation>

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

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

diffstat:
 lldb-netbsd/PLIST                                       |  7 +++++++
 lldb-netbsd/distinfo                                    |  3 ++-
 lldb-netbsd/patches/patch-cmake_modules_AddLLDB.cmake   | 17 +++++++++++++++++
 .../patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp  |  2 +-
 4 files changed, 27 insertions(+), 2 deletions(-)

diffs:
diff --git a/lldb-netbsd/PLIST b/lldb-netbsd/PLIST
index f996af6..49844b3 100644
--- a/lldb-netbsd/PLIST
+++ b/lldb-netbsd/PLIST
@@ -16,6 +16,13 @@ ${PYSITELIB}/lldb/runtime/__init__.py
 ${PYSITELIB}/lldb/utils/__init__.py
 ${PYSITELIB}/lldb/utils/symbolication.py
 ${PYSITELIB}/six.py
+bin/${PKGNAME}
+bin/lldb
+bin/lldb-argdumper
+bin/lldb-mi
+bin/lldb-mi-${PKGVERSION}
+bin/lldb-server
+bin/lldb-server-${PKGVERSION}
 include/lldb/API/LLDB.h
 include/lldb/API/SBAddress.h
 include/lldb/API/SBAttachInfo.h
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 7a26dca..c9f0eaf 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -13,13 +13,14 @@ SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
 SHA1 (patch-cmake_LLDBDependencies.cmake) = 81673d8624ca7a9ad60bcaf530587fbfbd695dca
+SHA1 (patch-cmake_modules_AddLLDB.cmake) = 39de9d6ff91641b9c625dbb95c2618f336be28c4
 SHA1 (patch-include_lldb_Host_netbsd_HostThreadNetBSD.h) = 79f207cdb9da2ef57d39eeb307ec6d10cf828925
 SHA1 (patch-include_lldb_Host_netbsd_ProcessLauncherNetBSD.h) = 5422ae06ff064f0b522148a576a7e8d3b4ea1974
 SHA1 (patch-source_CMakeLists.txt) = 5dacabc3f39c23bdfd432b5a4895866157b97aa0
 SHA1 (patch-source_Host_CMakeLists.txt) = b7b5fbf2354e05c33c63bf47ffa1ef58f58727ef
 SHA1 (patch-source_Host_common_NativeProcessProtocol.cpp) = 2446b1727d87e9d5e6e7a12f66d7263798ad554d
 SHA1 (patch-source_Host_netbsd_HostThreadNetBSD.cpp) = a1b0fbdad062309a845cfefe4469614fbbe9d20e
-SHA1 (patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp) = 8b36c0b8d5c75ce501e4848ca07392a7aab68877
+SHA1 (patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp) = 8f2999d3c57bb2776b048e112ec6b800fb0cea20
 SHA1 (patch-source_Host_netbsd_ThisThread.cpp) = f0d32c81bc1b8fe9aeb86519ea46ba2cb16571c2
 SHA1 (patch-source_Initialization_SystemInitializerCommon.cpp) = b8a2f94eb71dbd265701fdd62e3d36bc0d7081f1
 SHA1 (patch-source_Plugins_Platform_NetBSD_PlatformNetBSD.cpp) = 129e853c1f93f063a0d30c737bcd82e3e589539b
diff --git a/lldb-netbsd/patches/patch-cmake_modules_AddLLDB.cmake b/lldb-netbsd/patches/patch-cmake_modules_AddLLDB.cmake
new file mode 100644
index 0000000..60727e4
--- /dev/null
+++ b/lldb-netbsd/patches/patch-cmake_modules_AddLLDB.cmake
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- cmake/modules/AddLLDB.cmake.orig	2016-12-17 10:34:01.000000000 +0000
++++ cmake/modules/AddLLDB.cmake
+@@ -142,6 +142,12 @@ function(add_lldb_executable name)
+         endif()
+       endif()
+     endif()
++  else()
++    if(ARG_GENERATE_INSTALL)
++      install(TARGETS ${name}
++            COMPONENT ${name}
++            RUNTIME DESTINATION ${install_dir})
++    endif()
+   endif()
+ 
+   if(ARG_INCLUDE_IN_FRAMEWORK AND LLDB_BUILD_FRAMEWORK)
diff --git a/lldb-netbsd/patches/patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp b/lldb-netbsd/patches/patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp
index b73585b..dc5981b 100644
--- a/lldb-netbsd/patches/patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp
+++ b/lldb-netbsd/patches/patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- source/Host/netbsd/ProcessLauncherNetBSD.cpp.orig	2016-12-19 03:34:17.128573979 +0000
+--- source/Host/netbsd/ProcessLauncherNetBSD.cpp.orig	2016-12-20 12:45:58.410690935 +0000
 +++ source/Host/netbsd/ProcessLauncherNetBSD.cpp
 @@ -0,0 +1,170 @@
 +//===-- ProcessLauncherNetBSD.cpp --------------------------------*- C++ -*-===//


Home | Main Index | Thread Index | Old Index