Fri May 5 22:56:37 2017 UTC ()
Reduce diff with pkgsrc-wip/lldb-git


(kamil)
diff -r1.7 -r1.8 pkgsrc/devel/lldb/Makefile

cvs diff -r1.7 -r1.8 pkgsrc/devel/lldb/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/lldb/Makefile 2017/03/17 22:38:17 1.7
+++ pkgsrc/devel/lldb/Makefile 2017/05/05 22:56:37 1.8
@@ -1,124 +1,64 @@ @@ -1,124 +1,64 @@
1# $NetBSD: Makefile,v 1.7 2017/03/17 22:38:17 adam Exp $ 1# $NetBSD: Makefile,v 1.8 2017/05/05 22:56:37 kamil Exp $
2 2
3DISTNAME= lldb-4.0.0.src 3DISTNAME= lldb-4.0.0.src
4PKGNAME= ${DISTNAME:S/.src//} 4PKGNAME= ${DISTNAME:S/.src//}
5CATEGORIES= lang devel 5CATEGORIES= lang devel
6MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ 6MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://lldb.org/ 10HOMEPAGE= http://lldb.org/
11COMMENT= Next generation, high-performance debugger 11COMMENT= Next generation, high-performance debugger
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six 14DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
15 15
16CONFIGURE_DIRS= ${WRKDIR}/build 16CONFIGURE_DIRS= ${WRKDIR}/build
17CMAKE_ARG_PATH= ${WRKSRC} 17CMAKE_ARG_PATH= ${WRKSRC}
18 18
19USE_LANGUAGES= c c++ 19USE_LANGUAGES= c c++
20USE_CMAKE= yes 20USE_CMAKE= yes
21GCC_REQD+= 4.8 21GCC_REQD+= 4.8
22PY_PATCHPLIST= yes 22PY_PATCHPLIST= yes
23 23
24PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # compilation failure in 3.8.1 (3.8.0 worked) 24PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # compilation failure in 3.8.1 (3.8.0 worked)
25 25
26CMAKE_ARGS+= -DLLVM_CONFIG=${LLVM_CONFIG_PATH} 26CMAKE_ARGS+= -DLLVM_CONFIG=${LLVM_CONFIG_PATH}
27CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release 27CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
28CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc 28CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
29CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++ 29CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
30CMAKE_ARGS+= -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=ON 30CMAKE_ARGS+= -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=ON
 31CMAKE_ARGS+= -DLLDB_USE_SYSTEM_SIX:BOOL=TRUE
31 32
32CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm 33CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm
33 34
34REPLACE_PERL+= packages/Python/lldbsuite/test/attic/dotest.pl 35REPLACE_PERL+= *.pl
35REPLACE_PERL+= scripts/build-llvm.pl 36REPLACE_PERL+= */*.pl
36REPLACE_PERL+= scripts/checkpoint-llvm.pl 37REPLACE_PERL+= */*/*.pl
37REPLACE_PERL+= scripts/disasm-gdb-remote.pl 38REPLACE_PERL+= */*/*/*.pl
38REPLACE_PERL+= scripts/generate-vers.pl 39REPLACE_PERL+= */*/*/*/*.pl
 40REPLACE_PERL+= */*/*/*/*/*.pl
39REPLACE_PERL+= scripts/sed-sources 41REPLACE_PERL+= scripts/sed-sources
40 42
41REPLACE_PYTHON+= examples/darwin/heap_find/heap.py 43REPLACE_PYTHON+= *.py
42REPLACE_PYTHON+= examples/python/cmdtemplate.py 44REPLACE_PYTHON+= */*.py
43REPLACE_PYTHON+= examples/python/crashlog.py 45REPLACE_PYTHON+= */*/*.py
44REPLACE_PYTHON+= examples/python/delta.py 46REPLACE_PYTHON+= */*/*/*.py
45REPLACE_PYTHON+= examples/python/disasm-stress-test.py 47REPLACE_PYTHON+= */*/*/*/*.py
46REPLACE_PYTHON+= examples/python/disasm.py 48REPLACE_PYTHON+= */*/*/*/*/*.py
47REPLACE_PYTHON+= examples/python/gdbremote.py 49REPLACE_PYTHON+= */*/*/*/*/*/*.py
48REPLACE_PYTHON+= examples/python/globals.py 50REPLACE_PYTHON+= */*/*/*/*/*/*/*.py
49REPLACE_PYTHON+= examples/python/lldb_module_utils.py 
50REPLACE_PYTHON+= examples/python/lldbtk.py 
51REPLACE_PYTHON+= examples/python/mach_o.py 
52REPLACE_PYTHON+= examples/python/memory.py 
53REPLACE_PYTHON+= examples/python/operating_system.py 
54REPLACE_PYTHON+= examples/python/performance.py 
55REPLACE_PYTHON+= examples/python/process_events.py 
56REPLACE_PYTHON+= examples/python/sbvalue.py 
57REPLACE_PYTHON+= examples/python/sources.py 
58REPLACE_PYTHON+= examples/python/stacks.py 
59REPLACE_PYTHON+= examples/python/symbolication.py 
60REPLACE_PYTHON+= examples/python/types.py 
61REPLACE_PYTHON+= examples/python/x86_64_linux_target_definition.py 
62REPLACE_PYTHON+= examples/python/x86_64_qemu_target_definition.py 
63REPLACE_PYTHON+= examples/python/x86_64_target_definition.py 
64REPLACE_PYTHON+= packages/Python/lldbsuite/test/attic/tester.py 
65REPLACE_PYTHON+= packages/Python/lldbsuite/test/bench.py 
66REPLACE_PYTHON+= packages/Python/lldbsuite/test/curses_results.py 
67REPLACE_PYTHON+= packages/Python/lldbsuite/test/dosep.py 
68REPLACE_PYTHON+= packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system.py 
69REPLACE_PYTHON+= packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system2.py 
70REPLACE_PYTHON+= packages/Python/lldbsuite/test/redo.py 
71REPLACE_PYTHON+= packages/Python/lldbsuite/test/test_runner/test/inferior.py 
72REPLACE_PYTHON+= packages/Python/lldbsuite/test/test_runner/test/process_control_tests.py 
73REPLACE_PYTHON+= scripts/Python/remote-build.py 
74REPLACE_PYTHON+= scripts/buildbot.py 
75REPLACE_PYTHON+= scripts/shush 51REPLACE_PYTHON+= scripts/shush
76REPLACE_PYTHON+= scripts/verify_api.py 
77REPLACE_PYTHON+= scripts/prepare_bindings.py 
78REPLACE_PYTHON+= test/dotest.py 
79REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/FSM.py 
80REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/astat.py 
81REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/bd_client.py 
82REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/bd_serv.py 
83REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/cgishell.cgi 
84REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/chess.py 
85REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/chess2.py 
86REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/chess3.py 
87REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/df.py 
88REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/fix_cvs_files.py 
89REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/ftp.py 
90REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/hive.py 
91REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/monitor.py 
92REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/passmass.py 
93REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/python.py 
94REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/rippy.py 
95REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/script.py 
96REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/ssh_tunnel.py 
97REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/sshls.py 
98REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/topip.py 
99REPLACE_PYTHON+= third_party/Python/module/pexpect-2.4/examples/uptime.py 
100REPLACE_PYTHON+= third_party/Python/module/progress/progress.py 
101REPLACE_PYTHON+= utils/git-svn/convert.py 
102REPLACE_PYTHON+= utils/lui/lui.py 
103REPLACE_PYTHON+= utils/lui/sandbox.py 
104REPLACE_PYTHON+= utils/misc/grep-svn-log.py 
105REPLACE_PYTHON+= utils/sync-source/syncsource.py 
106REPLACE_PYTHON+= utils/test/disasm.py 
107REPLACE_PYTHON+= utils/test/lldb-disasm.py 
108REPLACE_PYTHON+= utils/test/llvm-mc-shell.py 
109REPLACE_PYTHON+= utils/test/ras.py 
110REPLACE_PYTHON+= utils/test/run-dis.py 
111REPLACE_PYTHON+= utils/test/run-until-faulted.py 
112 52
113TEST_TARGET= check-lldb 53TEST_TARGET= check-lldb
114TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib 54TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib
115 55
116.include "../../mk/bsd.prefs.mk" 56.include "../../mk/bsd.prefs.mk"
117 57
118PLIST_VARS+= posix 58PLIST_VARS+= posix
119.if ${OPSYS} != "Darwin" 59.if ${OPSYS} != "Darwin"
120PLIST.posix= yes 60PLIST.posix= yes
121.endif 61.endif
122 62
123.if ${OPSYS} == "NetBSD" 63.if ${OPSYS} == "NetBSD"
124. if exists(/usr/include/panel.h) 64. if exists(/usr/include/panel.h)