Ticket #34491: compilers.patch

File compilers.patch, 22.6 KB (added by seanfarley (Sean Farley), 12 years ago)

patch compiler portfiles to keep debugging info

  • dports/devel/gmp/Portfile

    # 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  
    44PortSystem 1.0
    55PortGroup  muniversal  1.0
    66
    77name            gmp
    88version         5.0.4
     9revision        1
    910categories      devel math
    1011license         LGPL-3+
    1112maintainers     mcalhoun openmaintainer
    1213platforms       darwin
    1314description     GNU multiple precision arithmetic library
     
    3536# See #16634
    3637patchfiles      patch-gmp-h.in.diff
    3738
    3839# llvm-gcc-4.2 fails make check
    3940if {${configure.compiler} == "llvm-gcc-4.2"} {
    40     if {[vercmp $xcodeversion 4.1] >= 0} {
     41    if {[vercmp $xcodeversion 4.2] >= 0} {
    4142        configure.compiler clang
    4243    } else {
    4344        configure.compiler gcc-4.2
    4445    }
    4546}
  • dports/lang/apple-gcc40/Portfile

    diff --git a/dports/lang/apple-gcc40/Portfile b/dports/lang/apple-gcc40/Portfile
    a b  
    22
    33PortSystem 1.0
    44
    55name                    apple-gcc40
    66version                 5494
     7revision      1
    78categories              lang
    89platforms               darwin
    910maintainers             nomaintainer
    1011description             Apple's version of gcc 4.0
    1112long_description        Apple's version of the GNU compiler collection, \
     
    5657
    5758post-destroot {
    5859        file delete -force \
    5960                ${destroot}${nprefix}/man ${destroot}${nprefix}/info
    6061        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 {} +"
    6163}
    6264
     65
    6366# It's difficult to distinguish between Apple's gcc-4.0 and gcc-4.2 releases
    6467livecheck.type  none
  • dports/lang/apple-gcc42/Portfile

    diff --git a/dports/lang/apple-gcc42/Portfile b/dports/lang/apple-gcc42/Portfile
    a b  
    44PortGroup select 1.0
    55
    66name                    apple-gcc42
    77version                 5666.3
    88set gcc_version         4.2.1
    9 revision                7
     9revision                8
    1010categories              lang
    1111platforms               darwin
    1212license         GPL-2
    1313maintainers             jeremyhu openmaintainer
    1414installs_libs   no
     
    232232        delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as
    233233        ln -s ../../../../../bin/as ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as
    234234        delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld
    235235        ln -s ../../../../../bin/ld ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld
    236236    }
     237     system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    237238}
    238239
    239240livecheck.type          regex
    240241livecheck.url           [lindex ${master_sites} 0]
    241242livecheck.regex         gcc-(\\d+(?:\\.\\d+)*)\\.tar
  • dports/lang/clang-2.9/Portfile

    diff --git a/dports/lang/clang-2.9/Portfile b/dports/lang/clang-2.9/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        2.9
    7 revision                8
     7revision                9
    88name                    clang-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    1111dist_subdir             llvm
    1212categories              lang
     
    211211    # http://trac.macports.org/ticket/33207
    212212    ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
    213213
    214214    system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
    215215    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 {} +"
    216217}
    217218
    218219pre-activate {
    219220    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
    220221    # rather than ${destroot}${sub_prefix}/bin/ld
  • dports/lang/clang-3.0/Portfile

    diff --git a/dports/lang/clang-3.0/Portfile b/dports/lang/clang-3.0/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        3.0
    7 revision                7
     7revision                8
    88name                    clang-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    1111dist_subdir             llvm
    1212categories              lang
     
    209209    # http://trac.macports.org/ticket/33207
    210210    ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
    211211
    212212    system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
    213213    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 {} +"
    214215}
    215216
    216217pre-activate {
    217218    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
    218219    # rather than ${destroot}${sub_prefix}/bin/ld
  • dports/lang/clang-3.1/Portfile

    diff --git a/dports/lang/clang-3.1/Portfile b/dports/lang/clang-3.1/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        3.1
     7revision                1
    78name                    clang-${llvm_version}
    89set suffix              mp-${llvm_version}
    910set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    1011dist_subdir             llvm
    1112categories              lang
     
    209210    # http://trac.macports.org/ticket/33207
    210211    ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
    211212
    212213    system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
    213214    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 {} +"
    214216}
    215217
    216218pre-activate {
    217219    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
    218220    # rather than ${destroot}${sub_prefix}/bin/ld
  • dports/lang/clang-3.2/Portfile

    diff --git a/dports/lang/clang-3.2/Portfile b/dports/lang/clang-3.2/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        3.2
     7revision                1
    78name                    clang-${llvm_version}
    89set suffix              mp-${llvm_version}
    910set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    1011dist_subdir             llvm
    1112categories              lang
     
    204205    # http://trac.macports.org/ticket/33207
    205206    ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
    206207
    207208    system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
    208209    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 {} +"
    209211}
    210212
    211213pre-activate {
    212214    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
    213215    # rather than ${destroot}${sub_prefix}/bin/ld
  • dports/lang/dragonegg-3.0/Portfile

    diff --git a/dports/lang/dragonegg-3.0/Portfile b/dports/lang/dragonegg-3.0/Portfile
    a b  
    66
    77set llvm_version        3.0
    88name                    dragonegg-${llvm_version}
    99set gcc_version         46
    1010set gcc_version_dot     4.6
    11 revision                3
     11revision                4
    1212dist_subdir             llvm
    1313categories              lang
    1414platforms               darwin
    1515maintainers             jeremyhu openmaintainer
    1616license                 GPL-2
     
    9494    ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran
    9595
    9696    reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9797    reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9898    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 {} +"
    99100}
  • dports/lang/dragonegg-3.1/Portfile

    diff --git a/dports/lang/dragonegg-3.1/Portfile b/dports/lang/dragonegg-3.1/Portfile
    a b  
    66
    77set llvm_version        3.1
    88name                    dragonegg-${llvm_version}
    99set gcc_version         46
    1010set gcc_version_dot     4.6
     11revision                1
    1112dist_subdir             llvm
    1213categories              lang
    1314platforms               darwin
    1415maintainers             jeremyhu openmaintainer
    1516license                 GPL-2
     
    9293    ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran
    9394
    9495    reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9596    reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9697    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 {} +"
    9799}
  • dports/lang/dragonegg-3.2/Portfile

    diff --git a/dports/lang/dragonegg-3.2/Portfile b/dports/lang/dragonegg-3.2/Portfile
    a b  
    66
    77set llvm_version        3.2
    88name                    dragonegg-${llvm_version}
    99set gcc_version         46
    1010set gcc_version_dot     4.6
     11revision                1
    1112dist_subdir             llvm
    1213categories              lang
    1314platforms               darwin
    1415maintainers             jeremyhu openmaintainer
    1516license                 GPL-2
     
    9293    ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran
    9394
    9495    reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9596    reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9697    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 {} +"
    9799}
  • dports/lang/g95/Portfile

    diff --git a/dports/lang/g95/Portfile b/dports/lang/g95/Portfile
    a b  
    33
    44PortSystem 1.0
    55
    66name            g95
    77version         0.92
    8 revision        2
     8revision        3
    99platforms       darwin
    1010categories      lang
    1111maintainers     takeshi
    1212description     Another GNU Fortran 95 compiler
    1313long_description \
     
    143143            ranlib ${destroot}${prefix}/${gcclib}/libgcc.a; \
    144144            ranlib ${destroot}${prefix}/${gcclib}/libgcc_eh.a"
    145145    xinstall -d ${destroot}${prefix}/share/doc/${name}
    146146    xinstall -m 644 ${worksrcpath}/G95Manual.pdf ${destroot}${prefix}/share/doc/${name}
    147147    system "ln -sf ${prefix}/${gcclib}/libf95.a ${destroot}${prefix}/lib/libf95.a"
     148    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    148149}
    149150
    150151platform darwin 8 {
    151152    patchfiles-delete patch-host-darwin.c.diff patch-darwin-fallback.c.diff
    152153    depends_lib-append port:odcctools
  • dports/lang/gcc42/Portfile

    diff --git a/dports/lang/gcc42/Portfile b/dports/lang/gcc42/Portfile
    a b  
    33PortSystem 1.0
    44PortGroup select 1.0
    55
    66name                    gcc42
    77version                 4.2.4
    8 revision                3
     8revision                4
    99platforms               darwin
    1010categories              lang
    1111maintainers             mww openmaintainer
    1212# an exception in the license allows dependents to not be GPL
    1313license                 {GPL-3+ GPL-2+ Permissive}
     
    120120post-destroot {
    121121        # install/copy ffitarget.h only if we have it
    122122        if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    123123                file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    124124        }
     125        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    125126}
    126127
    127128select.group    gcc
    128129select.file     ${filespath}/mp-${name}
    129130
  • dports/lang/gcc43/Portfile

    diff --git a/dports/lang/gcc43/Portfile b/dports/lang/gcc43/Portfile
    a b  
    33PortSystem 1.0
    44PortGroup select 1.0
    55
    66name                gcc43
    77version             4.3.6
    8 revision            3
     8revision            4
    99platforms           darwin
    1010categories          lang
    1111maintainers         mww openmaintainer
    1212# an exception in the license allows dependents to not be GPL
    1313license             {GPL-3+ GPL-2+ Permissive}
     
    133133        ${destroot}${prefix}/share/info
    134134    # install/copy ffitarget.h only if we have it
    135135    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    136136        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    137137    }
     138    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    138139}
    139140
    140141select.group        gcc
    141142select.file         ${filespath}/mp-${name}
    142143
  • dports/lang/gcc44/Portfile

    diff --git a/dports/lang/gcc44/Portfile b/dports/lang/gcc44/Portfile
    a b  
    44PortGroup select 1.0
    55
    66name                gcc44
    77epoch               1
    88version             4.4.7
    9 revision            1
     9revision            2
    1010platforms           darwin
    1111categories          lang
    1212maintainers         mww openmaintainer
    1313# an exception in the license allows dependents to not be GPL
    1414license             {GPL-3+ Permissive}
     
    138138    }
    139139    file rename ${destroot}${prefix}/share/python/aotcompile.py \
    140140                ${destroot}${prefix}/share/python/aotcompile-44.py
    141141    file rename ${destroot}${prefix}/share/python/classfile.py \
    142142                ${destroot}${prefix}/share/python/classfile-44.py
     143    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    143144}
    144145
    145146select.group        gcc
    146147select.file         ${filespath}/mp-${name}
    147148
  • dports/lang/gcc45/Portfile

    diff --git a/dports/lang/gcc45/Portfile b/dports/lang/gcc45/Portfile
    a b  
    44PortGroup select 1.0
    55
    66name                gcc45
    77epoch               1
    88version             4.5.3
    9 revision            4
     9revision            5
    1010platforms           darwin
    1111categories          lang
    1212maintainers         mww openmaintainer
    1313# an exception in the license allows dependents to not be GPL
    1414license             {GPL-3+ Permissive}
     
    149149    }
    150150    file rename ${destroot}${prefix}/share/python/aotcompile.py \
    151151                ${destroot}${prefix}/share/python/aotcompile-45.py
    152152    file rename ${destroot}${prefix}/share/python/classfile.py \
    153153                ${destroot}${prefix}/share/python/classfile-45.py
     154    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    154155}
    155156
    156157select.group        gcc
    157158select.file         ${filespath}/mp-${name}
    158159
  • dports/lang/gcc46/Portfile

    diff --git a/dports/lang/gcc46/Portfile b/dports/lang/gcc46/Portfile
    a b  
    44PortGroup select 1.0
    55
    66name                gcc46
    77epoch               1
    88version             4.6.3
    9 revision            2
     9revision            3
    1010platforms           darwin
    1111categories          lang
    1212maintainers         mww openmaintainer
    1313# an exception in the license allows dependents to not be GPL
    1414license             {GPL-3+ Permissive}
     
    120120        ${destroot}${prefix}/share/info
    121121    # install/copy ffitarget.h only if we have it
    122122    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    123123        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    124124    }
     125    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    125126}
    126127
    127128select.group        gcc
    128129select.file         ${filespath}/mp-${name}
    129130
  • dports/lang/gcc47/Portfile

    diff --git a/dports/lang/gcc47/Portfile b/dports/lang/gcc47/Portfile
    a b  
    44PortGroup select 1.0
    55
    66name                gcc47
    77epoch               1
    88version             4.7.0
    9 revision            3
     9revision            4
    1010platforms           darwin
    1111categories          lang
    1212maintainers         mww openmaintainer
    1313license             GPL-3
    1414description         The GNU compiler collection
     
    120120        ${destroot}${prefix}/share/info
    121121    # install/copy ffitarget.h only if we have it
    122122    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    123123        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    124124    }
     125    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    125126}
    126127
    127128select.group        gcc
    128129select.file         ${filespath}/mp-${name}
    129130
  • dports/lang/gcc48/Portfile

    diff --git a/dports/lang/gcc48/Portfile b/dports/lang/gcc48/Portfile
    a b  
    33PortSystem 1.0
    44PortGroup select 1.0
    55
    66name                gcc48
    77version             4.8-20120513
    8 revision            1
     8revision            2
    99platforms           darwin
    1010categories          lang
    1111maintainers         mww openmaintainer
    1212license             GPL-3
    1313description         The GNU compiler collection, prerelease BETA
     
    104104        ${destroot}${prefix}/share/info
    105105    # install/copy ffitarget.h only if we have it
    106106    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    107107        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    108108    }
     109    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    109110}
    110111
    111112select.group        gcc
    112113select.file         ${filespath}/mp-${name}
    113114
  • dports/lang/llvm-2.9/Portfile

    diff --git a/dports/lang/llvm-2.9/Portfile b/dports/lang/llvm-2.9/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        2.9
    7 revision                4
     7revision                5
    88name                    llvm-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/${name}
    1111dist_subdir             llvm
    1212categories              lang
     
    120120                set libb_nodr [string map "${destroot} {}" ${libb}]
    121121
    122122                system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}"
    123123            }
    124124        }
     125        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    125126    }
    126127}
    127128
    128129platform darwin 8 {
    129130    post-configure {
  • dports/lang/llvm-3.0/Portfile

    diff --git a/dports/lang/llvm-3.0/Portfile b/dports/lang/llvm-3.0/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        3.0
    7 revision                4
     7revision                5
    88name                    llvm-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/${name}
    1111dist_subdir             llvm
    1212categories              lang
     
    120120                set libb_nodr [string map "${destroot} {}" ${libb}]
    121121
    122122                system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}"
    123123            }
    124124        }
     125        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    125126    }
    126127}
    127128
    128129platform darwin 8 {
    129130    post-configure {
  • dports/lang/llvm-3.1/Portfile

    diff --git a/dports/lang/llvm-3.1/Portfile b/dports/lang/llvm-3.1/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        3.1
     7revision                1
    78name                    llvm-${llvm_version}
    89set suffix              mp-${llvm_version}
    910set sub_prefix          ${prefix}/libexec/${name}
    1011dist_subdir             llvm
    1112categories              lang
     
    118119                set libb_nodr [string map "${destroot} {}" ${libb}]
    119120
    120121                system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}"
    121122            }
    122123        }
     124        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    123125    }
    124126}
    125127
    126128platform darwin 8 {
    127129    post-configure {
  • dports/lang/llvm-3.2/Portfile

    diff --git a/dports/lang/llvm-3.2/Portfile b/dports/lang/llvm-3.2/Portfile
    a b  
    22
    33PortSystem              1.0
    44PortGroup select        1.0
    55
    66set llvm_version        3.2
     7revision                1
    78name                    llvm-${llvm_version}
    89set suffix              mp-${llvm_version}
    910set sub_prefix          ${prefix}/libexec/${name}
    1011dist_subdir             llvm
    1112categories              lang
     
    118119                set libb_nodr [string map "${destroot} {}" ${libb}]
    119120
    120121                system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}"
    121122            }
    122123        }
     124        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    123125    }
    124126}
    125127
    126128platform darwin 8 {
    127129    post-configure {
  • dports/lang/llvm-gcc42/Portfile

    diff --git a/dports/lang/llvm-gcc42/Portfile b/dports/lang/llvm-gcc42/Portfile
    a b  
    22
    33PortSystem 1.0
    44
    55name                    llvm-gcc42
    66version                 2.9
    7 revision                1
     7revision                2
    88categories              lang
    99platforms               darwin
    1010license                 GPL-2+
    1111maintainers             erickt mfeiri jeremyhu
    1212description             llvm-gcc42 is a gcc compiler frontend for llvm
     
    136136
    137137        # dont install slibs outside of ${prefix}
    138138        foreach f [glob -nocomplain ${destroot}/usr/lib/*] {
    139139            file rename $f ${destroot}${prefix}/lib/${name}/
    140140        }
     141        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    141142    }
    142143}
    143144
    144145livecheck.type  regex
    145146livecheck.url   ${homepage}releases/