Ticket #49790: Portfile-pth.patch

File Portfile-pth.patch, 813 bytes (added by mklein-de (Michael Klein), 8 years ago)

pth Portfile patch

  • dports/devel/pth/Portfile

    diff --git a/dports/devel/pth/Portfile b/dports/devel/pth/Portfile
    index 8c1b861..cadeac5 100644
    a b PortSystem 1.0 
    55
    66name                pth
    77version             2.0.7
     8revision            1
    89categories          devel
    910license             LGPL-2.1+
    1011maintainers         nomaintainer
    checksums md5 9cb4a25331a4c4db866a31cbe507c793 \ 
    2728
    2829configure.args      --mandir=${prefix}/share/man
    2930
     31platform darwin 9 {
     32    if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} {
     33        configure.args-append --with-mctx-mth=sjlj --with-mctx-dsp=ssjlj --with-mctx-stk=sas
     34    }
     35}
     36
    3037post-configure {
    3138    reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool
    3239}