-
# HG changeset patch
# User Sean Farley <sean@mcs.anl.gov>
# Date 1339376686 18000
# Node ID 68521dcfc6e844d7764a3dab4dcb2c740a1d5cd1
# Parent 95d16eeb5829f399b9ba769a034a8da3302fb1cd
gcc-derived-compilers: adding debug symbols to supress debugger warnings
diff --git a/dports/lang/apple-gcc40/Portfile b/dports/lang/apple-gcc40/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name apple-gcc40 |
6 | 6 | version 5494 |
| 7 | revision 2 |
7 | 8 | categories lang |
8 | 9 | platforms darwin |
9 | 10 | maintainers nomaintainer |
10 | 11 | description Apple's version of gcc 4.0 |
11 | 12 | long_description Apple's version of the GNU compiler collection, \ |
… |
… |
|
56 | 57 | |
57 | 58 | post-destroot { |
58 | 59 | file delete -force \ |
59 | 60 | ${destroot}${nprefix}/man ${destroot}${nprefix}/info |
60 | 61 | system "cd ${destroot}${prefix}/bin && ln -sf ${nprefix}/bin/gcc-apple-4.0 && ln -sf ${nprefix}/bin/cpp-apple-4.0" |
| 62 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
61 | 63 | } |
62 | 64 | |
| 65 | |
63 | 66 | # It's difficult to distinguish between Apple's gcc-4.0 and gcc-4.2 releases |
64 | 67 | livecheck.type none |
-
diff --git a/dports/lang/apple-gcc42/Portfile b/dports/lang/apple-gcc42/Portfile
a
|
b
|
|
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name apple-gcc42 |
7 | 7 | version 5666.3 |
8 | 8 | set gcc_version 4.2.1 |
9 | | revision 7 |
| 9 | revision 9 |
10 | 10 | categories lang |
11 | 11 | platforms darwin |
12 | 12 | license GPL-2 |
13 | 13 | maintainers jeremyhu openmaintainer |
14 | 14 | installs_libs no |
… |
… |
|
235 | 235 | delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as |
236 | 236 | ln -s ../../../../../bin/as ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as |
237 | 237 | delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld |
238 | 238 | ln -s ../../../../../bin/ld ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld |
239 | 239 | } |
| 240 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
240 | 241 | } |
241 | 242 | |
242 | 243 | livecheck.type regex |
243 | 244 | livecheck.url [lindex ${master_sites} 0] |
244 | 245 | livecheck.regex gcc-(\\d+(?:\\.\\d+)*)\\.tar |
-
diff --git a/dports/lang/clang-2.9/Portfile b/dports/lang/clang-2.9/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 2.9 |
7 | | revision 9 |
| 7 | revision 10 |
8 | 8 | name clang-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/llvm-${llvm_version} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
211 | 211 | # http://trac.macports.org/ticket/33207 |
212 | 212 | ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld |
213 | 213 | |
214 | 214 | system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
215 | 215 | system "install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
| 216 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
216 | 217 | } |
217 | 218 | |
218 | 219 | pre-activate { |
219 | 220 | # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld |
220 | 221 | # rather than ${destroot}${sub_prefix}/bin/ld |
-
diff --git a/dports/lang/clang-3.0/Portfile b/dports/lang/clang-3.0/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 3.0 |
7 | | revision 8 |
| 7 | revision 9 |
8 | 8 | name clang-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/llvm-${llvm_version} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
209 | 209 | # http://trac.macports.org/ticket/33207 |
210 | 210 | ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld |
211 | 211 | |
212 | 212 | system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
213 | 213 | system "install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
| 214 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
214 | 215 | } |
215 | 216 | |
216 | 217 | pre-activate { |
217 | 218 | # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld |
218 | 219 | # rather than ${destroot}${sub_prefix}/bin/ld |
-
diff --git a/dports/lang/clang-3.1/Portfile b/dports/lang/clang-3.1/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 3.1 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | name clang-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/llvm-${llvm_version} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
221 | 221 | # http://trac.macports.org/ticket/33207 |
222 | 222 | ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld |
223 | 223 | |
224 | 224 | system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
225 | 225 | system "install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
| 226 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
226 | 227 | } |
227 | 228 | |
228 | 229 | pre-activate { |
229 | 230 | # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld |
230 | 231 | # rather than ${destroot}${sub_prefix}/bin/ld |
-
diff --git a/dports/lang/clang-3.2/Portfile b/dports/lang/clang-3.2/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 3.2 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | name clang-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/llvm-${llvm_version} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
206 | 206 | # http://trac.macports.org/ticket/33207 |
207 | 207 | ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld |
208 | 208 | |
209 | 209 | system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
210 | 210 | system "install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
| 211 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
211 | 212 | } |
212 | 213 | |
213 | 214 | pre-activate { |
214 | 215 | # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld |
215 | 216 | # rather than ${destroot}${sub_prefix}/bin/ld |
-
diff --git a/dports/lang/dragonegg-3.0/Portfile b/dports/lang/dragonegg-3.0/Portfile
a
|
b
|
|
6 | 6 | |
7 | 7 | set llvm_version 3.0 |
8 | 8 | name dragonegg-${llvm_version} |
9 | 9 | set gcc_version 46 |
10 | 10 | set gcc_version_dot 4.6 |
11 | | revision 3 |
| 11 | revision 5 |
12 | 12 | dist_subdir llvm |
13 | 13 | categories lang |
14 | 14 | platforms darwin |
15 | 15 | maintainers jeremyhu openmaintainer |
16 | 16 | license GPL-2 |
… |
… |
|
94 | 94 | ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran |
95 | 95 | |
96 | 96 | reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
97 | 97 | reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
98 | 98 | reinplace "s:GCC_VERSION:${gcc_version_dot}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
| 99 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
99 | 100 | } |
-
diff --git a/dports/lang/dragonegg-3.1/Portfile b/dports/lang/dragonegg-3.1/Portfile
a
|
b
|
|
6 | 6 | |
7 | 7 | set llvm_version 3.1 |
8 | 8 | name dragonegg-${llvm_version} |
9 | 9 | set gcc_version 46 |
10 | 10 | set gcc_version_dot 4.6 |
| 11 | revision 2 |
11 | 12 | dist_subdir llvm |
12 | 13 | categories lang |
13 | 14 | platforms darwin |
14 | 15 | maintainers jeremyhu openmaintainer |
15 | 16 | license GPL-2 |
… |
… |
|
91 | 92 | ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran |
92 | 93 | |
93 | 94 | reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
94 | 95 | reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
95 | 96 | reinplace "s:GCC_VERSION:${gcc_version_dot}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
| 97 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
96 | 98 | } |
-
diff --git a/dports/lang/dragonegg-3.2/Portfile b/dports/lang/dragonegg-3.2/Portfile
a
|
b
|
|
6 | 6 | |
7 | 7 | set llvm_version 3.2 |
8 | 8 | name dragonegg-${llvm_version} |
9 | 9 | set gcc_version 46 |
10 | 10 | set gcc_version_dot 4.6 |
| 11 | revision 2 |
11 | 12 | dist_subdir llvm |
12 | 13 | categories lang |
13 | 14 | platforms darwin |
14 | 15 | maintainers jeremyhu openmaintainer |
15 | 16 | license GPL-2 |
… |
… |
|
91 | 92 | ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran |
92 | 93 | |
93 | 94 | reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
94 | 95 | reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
95 | 96 | reinplace "s:GCC_VERSION:${gcc_version_dot}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
| 97 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
96 | 98 | } |
-
diff --git a/dports/lang/g95/Portfile b/dports/lang/g95/Portfile
a
|
b
|
|
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | |
6 | 6 | name g95 |
7 | 7 | version 0.92 |
8 | | revision 2 |
| 8 | revision 3 |
9 | 9 | platforms darwin |
10 | 10 | categories lang |
11 | 11 | maintainers takeshi |
12 | 12 | description Another GNU Fortran 95 compiler |
13 | 13 | long_description \ |
… |
… |
|
143 | 143 | ranlib ${destroot}${prefix}/${gcclib}/libgcc.a; \ |
144 | 144 | ranlib ${destroot}${prefix}/${gcclib}/libgcc_eh.a" |
145 | 145 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
146 | 146 | xinstall -m 644 ${worksrcpath}/G95Manual.pdf ${destroot}${prefix}/share/doc/${name} |
147 | 147 | system "ln -sf ${prefix}/${gcclib}/libf95.a ${destroot}${prefix}/lib/libf95.a" |
| 148 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
148 | 149 | } |
149 | 150 | |
150 | 151 | platform darwin 8 { |
151 | 152 | patchfiles-delete patch-host-darwin.c.diff patch-darwin-fallback.c.diff |
152 | 153 | depends_lib-append port:odcctools |
-
diff --git a/dports/lang/gcc42/Portfile b/dports/lang/gcc42/Portfile
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc42 |
7 | 7 | version 4.2.4 |
8 | | revision 3 |
| 8 | revision 4 |
9 | 9 | platforms darwin |
10 | 10 | categories lang |
11 | 11 | maintainers mww openmaintainer |
12 | 12 | # an exception in the license allows dependents to not be GPL |
13 | 13 | license {GPL-3+ GPL-2+ Permissive} |
… |
… |
|
120 | 120 | post-destroot { |
121 | 121 | # install/copy ffitarget.h only if we have it |
122 | 122 | if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { |
123 | 123 | file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ |
124 | 124 | } |
| 125 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
125 | 126 | } |
126 | 127 | |
127 | 128 | select.group gcc |
128 | 129 | select.file ${filespath}/mp-${name} |
129 | 130 | |
-
diff --git a/dports/lang/gcc43/Portfile b/dports/lang/gcc43/Portfile
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc43 |
7 | 7 | version 4.3.6 |
8 | | revision 3 |
| 8 | revision 4 |
9 | 9 | platforms darwin |
10 | 10 | categories lang |
11 | 11 | maintainers mww openmaintainer |
12 | 12 | # an exception in the license allows dependents to not be GPL |
13 | 13 | license {GPL-3+ GPL-2+ Permissive} |
… |
… |
|
133 | 133 | ${destroot}${prefix}/share/info |
134 | 134 | # install/copy ffitarget.h only if we have it |
135 | 135 | if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { |
136 | 136 | file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ |
137 | 137 | } |
| 138 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
138 | 139 | } |
139 | 140 | |
140 | 141 | select.group gcc |
141 | 142 | select.file ${filespath}/mp-${name} |
142 | 143 | |
-
diff --git a/dports/lang/gcc44/Portfile b/dports/lang/gcc44/Portfile
a
|
b
|
|
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc44 |
7 | 7 | epoch 1 |
8 | 8 | version 4.4.7 |
9 | | revision 1 |
| 9 | revision 2 |
10 | 10 | platforms darwin |
11 | 11 | categories lang |
12 | 12 | maintainers mww openmaintainer |
13 | 13 | # an exception in the license allows dependents to not be GPL |
14 | 14 | license {GPL-3+ Permissive} |
… |
… |
|
138 | 138 | } |
139 | 139 | file rename ${destroot}${prefix}/share/python/aotcompile.py \ |
140 | 140 | ${destroot}${prefix}/share/python/aotcompile-44.py |
141 | 141 | file rename ${destroot}${prefix}/share/python/classfile.py \ |
142 | 142 | ${destroot}${prefix}/share/python/classfile-44.py |
| 143 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
143 | 144 | } |
144 | 145 | |
145 | 146 | select.group gcc |
146 | 147 | select.file ${filespath}/mp-${name} |
147 | 148 | |
-
diff --git a/dports/lang/gcc45/Portfile b/dports/lang/gcc45/Portfile
a
|
b
|
|
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc45 |
7 | 7 | epoch 1 |
8 | 8 | version 4.5.3 |
9 | | revision 4 |
| 9 | revision 5 |
10 | 10 | platforms darwin |
11 | 11 | categories lang |
12 | 12 | maintainers mww openmaintainer |
13 | 13 | # an exception in the license allows dependents to not be GPL |
14 | 14 | license {GPL-3+ Permissive} |
… |
… |
|
149 | 149 | } |
150 | 150 | file rename ${destroot}${prefix}/share/python/aotcompile.py \ |
151 | 151 | ${destroot}${prefix}/share/python/aotcompile-45.py |
152 | 152 | file rename ${destroot}${prefix}/share/python/classfile.py \ |
153 | 153 | ${destroot}${prefix}/share/python/classfile-45.py |
| 154 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
154 | 155 | } |
155 | 156 | |
156 | 157 | select.group gcc |
157 | 158 | select.file ${filespath}/mp-${name} |
158 | 159 | |
-
diff --git a/dports/lang/gcc46/Portfile b/dports/lang/gcc46/Portfile
a
|
b
|
|
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc46 |
7 | 7 | epoch 1 |
8 | 8 | version 4.6.3 |
9 | | revision 2 |
| 9 | revision 3 |
10 | 10 | platforms darwin |
11 | 11 | categories lang |
12 | 12 | maintainers mww openmaintainer |
13 | 13 | # an exception in the license allows dependents to not be GPL |
14 | 14 | license {GPL-3+ Permissive} |
… |
… |
|
120 | 120 | ${destroot}${prefix}/share/info |
121 | 121 | # install/copy ffitarget.h only if we have it |
122 | 122 | if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { |
123 | 123 | file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ |
124 | 124 | } |
| 125 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
125 | 126 | } |
126 | 127 | |
127 | 128 | select.group gcc |
128 | 129 | select.file ${filespath}/mp-${name} |
129 | 130 | |
-
diff --git a/dports/lang/gcc47/Portfile b/dports/lang/gcc47/Portfile
a
|
b
|
|
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc47 |
7 | 7 | epoch 1 |
8 | 8 | version 4.7.0 |
9 | | revision 3 |
| 9 | revision 4 |
10 | 10 | platforms darwin |
11 | 11 | categories lang |
12 | 12 | maintainers mww openmaintainer |
13 | 13 | license GPL-3 |
14 | 14 | description The GNU compiler collection |
… |
… |
|
120 | 120 | ${destroot}${prefix}/share/info |
121 | 121 | # install/copy ffitarget.h only if we have it |
122 | 122 | if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { |
123 | 123 | file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ |
124 | 124 | } |
| 125 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
125 | 126 | } |
126 | 127 | |
127 | 128 | select.group gcc |
128 | 129 | select.file ${filespath}/mp-${name} |
129 | 130 | |
-
diff --git a/dports/lang/gcc48/Portfile b/dports/lang/gcc48/Portfile
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | name gcc48 |
7 | 7 | version 4.8-20120610 |
| 8 | revision 1 |
8 | 9 | platforms darwin |
9 | 10 | categories lang |
10 | 11 | maintainers mww openmaintainer |
11 | 12 | license GPL-3 |
12 | 13 | description The GNU compiler collection, prerelease BETA |
… |
… |
|
102 | 103 | ${destroot}${prefix}/share/info |
103 | 104 | # install/copy ffitarget.h only if we have it |
104 | 105 | if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { |
105 | 106 | file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ |
106 | 107 | } |
| 108 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
107 | 109 | } |
108 | 110 | |
109 | 111 | select.group gcc |
110 | 112 | select.file ${filespath}/mp-${name} |
111 | 113 | |
-
diff --git a/dports/lang/llvm-2.9/Portfile b/dports/lang/llvm-2.9/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 2.9 |
7 | | revision 5 |
| 7 | revision 6 |
8 | 8 | name llvm-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/${name} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
120 | 120 | set libb_nodr [string map "${destroot} {}" ${libb}] |
121 | 121 | |
122 | 122 | system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}" |
123 | 123 | } |
124 | 124 | } |
| 125 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
125 | 126 | } |
126 | 127 | } |
127 | 128 | |
128 | 129 | platform darwin 8 { |
129 | 130 | post-configure { |
-
diff --git a/dports/lang/llvm-3.0/Portfile b/dports/lang/llvm-3.0/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 3.0 |
7 | | revision 5 |
| 7 | revision 6 |
8 | 8 | name llvm-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/${name} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
120 | 120 | set libb_nodr [string map "${destroot} {}" ${libb}] |
121 | 121 | |
122 | 122 | system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}" |
123 | 123 | } |
124 | 124 | } |
| 125 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
125 | 126 | } |
126 | 127 | } |
127 | 128 | |
128 | 129 | platform darwin 8 { |
129 | 130 | post-configure { |
-
diff --git a/dports/lang/llvm-3.1/Portfile b/dports/lang/llvm-3.1/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 3.1 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | name llvm-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/${name} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
121 | 121 | set libb_nodr [string map "${destroot} {}" ${libb}] |
122 | 122 | |
123 | 123 | system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}" |
124 | 124 | } |
125 | 125 | } |
| 126 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
126 | 127 | } |
127 | 128 | } |
128 | 129 | |
129 | 130 | platform darwin 8 { |
130 | 131 | post-configure { |
-
diff --git a/dports/lang/llvm-3.2/Portfile b/dports/lang/llvm-3.2/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup select 1.0 |
5 | 5 | |
6 | 6 | set llvm_version 3.2 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | name llvm-${llvm_version} |
9 | 9 | set suffix mp-${llvm_version} |
10 | 10 | set sub_prefix ${prefix}/libexec/${name} |
11 | 11 | dist_subdir llvm |
12 | 12 | categories lang |
… |
… |
|
118 | 118 | set libb_nodr [string map "${destroot} {}" ${libb}] |
119 | 119 | |
120 | 120 | system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}" |
121 | 121 | } |
122 | 122 | } |
| 123 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
123 | 124 | } |
124 | 125 | } |
125 | 126 | |
126 | 127 | platform darwin 8 { |
127 | 128 | post-configure { |
-
diff --git a/dports/lang/llvm-gcc42/Portfile b/dports/lang/llvm-gcc42/Portfile
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name llvm-gcc42 |
6 | 6 | version 2.9 |
7 | | revision 2 |
| 7 | revision 3 |
8 | 8 | categories lang |
9 | 9 | platforms darwin |
10 | 10 | license GPL-2+ |
11 | 11 | maintainers erickt mfeiri jeremyhu |
12 | 12 | description llvm-gcc42 is a gcc compiler frontend for llvm |
… |
… |
|
136 | 136 | |
137 | 137 | # dont install slibs outside of ${prefix} |
138 | 138 | foreach f [glob -nocomplain ${destroot}/usr/lib/*] { |
139 | 139 | file rename $f ${destroot}${prefix}/lib/${name}/ |
140 | 140 | } |
| 141 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
141 | 142 | } |
142 | 143 | } |
143 | 144 | |
144 | 145 | livecheck.type regex |
145 | 146 | livecheck.url ${homepage}releases/ |