-
# HG changeset patch
# User Sean Farley <sean@mcs.anl.gov>
# Date 1337286985 18000
# Node ID 644d4d1fbfe392042d81f532cf459bd0b8854b13
# Parent fa54f3ad6f748cb28706b1d5d60a520c0562ada9
dsyumtil: explicitly add generation of debug symbols to gdb-compatible compilers
diff --git a/dports/devel/gmp/Portfile b/dports/devel/gmp/Portfile
a
|
b
|
|
4 | 4 | PortSystem 1.0 |
5 | 5 | PortGroup muniversal 1.0 |
6 | 6 | |
7 | 7 | name gmp |
8 | 8 | version 5.0.4 |
| 9 | revision 1 |
9 | 10 | categories devel math |
10 | 11 | license LGPL-3+ |
11 | 12 | maintainers mcalhoun openmaintainer |
12 | 13 | platforms darwin |
13 | 14 | description GNU multiple precision arithmetic library |
… |
… |
|
35 | 36 | # See #16634 |
36 | 37 | patchfiles patch-gmp-h.in.diff |
37 | 38 | |
38 | 39 | # llvm-gcc-4.2 fails make check |
39 | 40 | if {${configure.compiler} == "llvm-gcc-4.2"} { |
40 | | if {[vercmp $xcodeversion 4.1] >= 0} { |
| 41 | if {[vercmp $xcodeversion 4.2] >= 0} { |
41 | 42 | configure.compiler clang |
42 | 43 | } else { |
43 | 44 | configure.compiler gcc-4.2 |
44 | 45 | } |
45 | 46 | } |
-
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 1 |
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 8 |
10 | 10 | categories lang |
11 | 11 | platforms darwin |
12 | 12 | license GPL-2 |
13 | 13 | maintainers jeremyhu openmaintainer |
14 | 14 | installs_libs no |
… |
… |
|
232 | 232 | delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as |
233 | 233 | ln -s ../../../../../bin/as ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as |
234 | 234 | delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld |
235 | 235 | ln -s ../../../../../bin/ld ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld |
236 | 236 | } |
| 237 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
237 | 238 | } |
238 | 239 | |
239 | 240 | livecheck.type regex |
240 | 241 | livecheck.url [lindex ${master_sites} 0] |
241 | 242 | 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 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 |
… |
… |
|
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 7 |
| 7 | revision 8 |
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 | 8 | name clang-${llvm_version} |
8 | 9 | set suffix mp-${llvm_version} |
9 | 10 | set sub_prefix ${prefix}/libexec/llvm-${llvm_version} |
10 | 11 | dist_subdir llvm |
11 | 12 | categories lang |
… |
… |
|
209 | 210 | # http://trac.macports.org/ticket/33207 |
210 | 211 | ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld |
211 | 212 | |
212 | 213 | system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
213 | 214 | 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" |
| 215 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
214 | 216 | } |
215 | 217 | |
216 | 218 | pre-activate { |
217 | 219 | # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld |
218 | 220 | # 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 | 8 | name clang-${llvm_version} |
8 | 9 | set suffix mp-${llvm_version} |
9 | 10 | set sub_prefix ${prefix}/libexec/llvm-${llvm_version} |
10 | 11 | dist_subdir llvm |
11 | 12 | categories lang |
… |
… |
|
204 | 205 | # http://trac.macports.org/ticket/33207 |
205 | 206 | ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld |
206 | 207 | |
207 | 208 | system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib" |
208 | 209 | 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" |
| 210 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
209 | 211 | } |
210 | 212 | |
211 | 213 | pre-activate { |
212 | 214 | # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld |
213 | 215 | # 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 4 |
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 1 |
11 | 12 | dist_subdir llvm |
12 | 13 | categories lang |
13 | 14 | platforms darwin |
14 | 15 | maintainers jeremyhu openmaintainer |
15 | 16 | license GPL-2 |
… |
… |
|
92 | 93 | ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran |
93 | 94 | |
94 | 95 | reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
95 | 96 | reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
96 | 97 | reinplace "s:GCC_VERSION:${gcc_version_dot}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
| 98 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
97 | 99 | } |
-
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 1 |
11 | 12 | dist_subdir llvm |
12 | 13 | categories lang |
13 | 14 | platforms darwin |
14 | 15 | maintainers jeremyhu openmaintainer |
15 | 16 | license GPL-2 |
… |
… |
|
92 | 93 | ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran |
93 | 94 | |
94 | 95 | reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
95 | 96 | reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
96 | 97 | reinplace "s:GCC_VERSION:${gcc_version_dot}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc |
| 98 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
97 | 99 | } |
-
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-20120513 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | platforms darwin |
10 | 10 | categories lang |
11 | 11 | maintainers mww openmaintainer |
12 | 12 | license GPL-3 |
13 | 13 | description The GNU compiler collection, prerelease BETA |
… |
… |
|
104 | 104 | ${destroot}${prefix}/share/info |
105 | 105 | # install/copy ffitarget.h only if we have it |
106 | 106 | if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} { |
107 | 107 | file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/ |
108 | 108 | } |
| 109 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
109 | 110 | } |
110 | 111 | |
111 | 112 | select.group gcc |
112 | 113 | select.file ${filespath}/mp-${name} |
113 | 114 | |
-
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 4 |
| 7 | revision 5 |
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 4 |
| 7 | revision 5 |
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 | 8 | name llvm-${llvm_version} |
8 | 9 | set suffix mp-${llvm_version} |
9 | 10 | set sub_prefix ${prefix}/libexec/${name} |
10 | 11 | dist_subdir llvm |
11 | 12 | categories lang |
… |
… |
|
118 | 119 | set libb_nodr [string map "${destroot} {}" ${libb}] |
119 | 120 | |
120 | 121 | system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}" |
121 | 122 | } |
122 | 123 | } |
| 124 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
123 | 125 | } |
124 | 126 | } |
125 | 127 | |
126 | 128 | platform darwin 8 { |
127 | 129 | 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 | 8 | name llvm-${llvm_version} |
8 | 9 | set suffix mp-${llvm_version} |
9 | 10 | set sub_prefix ${prefix}/libexec/${name} |
10 | 11 | dist_subdir llvm |
11 | 12 | categories lang |
… |
… |
|
118 | 119 | set libb_nodr [string map "${destroot} {}" ${libb}] |
119 | 120 | |
120 | 121 | system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}" |
121 | 122 | } |
122 | 123 | } |
| 124 | system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +" |
123 | 125 | } |
124 | 126 | } |
125 | 127 | |
126 | 128 | platform darwin 8 { |
127 | 129 | 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 1 |
| 7 | revision 2 |
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/ |