Ticket #34831: dsymutil.patch

File dsymutil.patch, 21.8 KB (added by seanfarley (Sean Farley), 12 years ago)

call dsymutil for each gcc-derived port

  • dports/lang/apple-gcc40/Portfile

    # 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  
    22
    33PortSystem 1.0
    44
    55name                    apple-gcc40
    66version                 5494
     7revision      2
    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                9
    1010categories              lang
    1111platforms               darwin
    1212license         GPL-2
    1313maintainers             jeremyhu openmaintainer
    1414installs_libs   no
     
    235235        delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as
    236236        ln -s ../../../../../bin/as ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/as
    237237        delete ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld
    238238        ln -s ../../../../../bin/ld ${destroot}${prefix}/libexec/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/ld
    239239    }
     240     system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    240241}
    241242
    242243livecheck.type          regex
    243244livecheck.url           [lindex ${master_sites} 0]
    244245livecheck.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                9
     7revision                10
    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                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
     
    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
    7 revision                1
     7revision                2
    88name                    clang-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    1111dist_subdir             llvm
    1212categories              lang
     
    221221    # http://trac.macports.org/ticket/33207
    222222    ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
    223223
    224224    system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
    225225    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 {} +"
    226227}
    227228
    228229pre-activate {
    229230    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
    230231    # 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
    7 revision                1
     7revision                2
    88name                    clang-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    1111dist_subdir             llvm
    1212categories              lang
     
    206206    # http://trac.macports.org/ticket/33207
    207207    ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
    208208
    209209    system "install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib"
    210210    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 {} +"
    211212}
    212213
    213214pre-activate {
    214215    # An earlier version of this port accidentally installed ${sub_prefix}/bin/ld
    215216    # 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                5
    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                2
    1112dist_subdir             llvm
    1213categories              lang
    1314platforms               darwin
    1415maintainers             jeremyhu openmaintainer
    1516license                 GPL-2
     
    9192    ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran
    9293
    9394    reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9495    reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9596    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 {} +"
    9698}
  • 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                2
    1112dist_subdir             llvm
    1213categories              lang
    1314platforms               darwin
    1415maintainers             jeremyhu openmaintainer
    1516license                 GPL-2
     
    9192    ln -s dragonegg-${llvm_version}-gcc ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gfortran
    9293
    9394    reinplace "s:PLUGIN:${prefix}/libexec/dragonegg/llvm-${llvm_version}-gcc${gcc_version}.so:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9495    reinplace "s:LLVM_VERSION:${llvm_version}:" ${destroot}${prefix}/bin/dragonegg-${llvm_version}-gcc
    9596    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 {} +"
    9698}
  • 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-20120610
     8revision            1
    89platforms           darwin
    910categories          lang
    1011maintainers         mww openmaintainer
    1112license             GPL-3
    1213description         The GNU compiler collection, prerelease BETA
     
    102103        ${destroot}${prefix}/share/info
    103104    # install/copy ffitarget.h only if we have it
    104105    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
    105106        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
    106107    }
     108    system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    107109}
    108110
    109111select.group        gcc
    110112select.file         ${filespath}/mp-${name}
    111113
  • 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                5
     7revision                6
    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                5
     7revision                6
    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
    7 revision                1
     7revision                2
    88name                    llvm-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/${name}
    1111dist_subdir             llvm
    1212categories              lang
     
    121121                set libb_nodr [string map "${destroot} {}" ${libb}]
    122122
    123123                system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}"
    124124            }
    125125        }
     126        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    126127    }
    127128}
    128129
    129130platform darwin 8 {
    130131    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
    7 revision                1
     7revision                2
    88name                    llvm-${llvm_version}
    99set suffix              mp-${llvm_version}
    1010set sub_prefix          ${prefix}/libexec/${name}
    1111dist_subdir             llvm
    1212categories              lang
     
    118118                set libb_nodr [string map "${destroot} {}" ${libb}]
    119119
    120120                system "install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}"
    121121            }
    122122        }
     123        system -W ${destroot}${prefix} "find . -type f -name '*.dylib' -exec dsymutil {} +"
    123124    }
    124125}
    125126
    126127platform darwin 8 {
    127128    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                2
     7revision                3
    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/