Ticket #18917: parrot.diff

File parrot.diff, 1.8 KB (added by jdfrens@…, 9 years ago)

diff from Portfile current in macports

  • Portfile

    old new  
    33PortSystem              1.0
    44
    55name                    parrot
    6 version                 0.5.2
     6version                 1.0.0
    77categories              lang devel
    88maintainers             bfulgham coleda.com:will
    99description             Open source virtual machine (for Perl6 et al.)
     
    1515
    1616platforms               darwin
    1717homepage                http://www.parrotcode.org/
    18 master_sites            http://www.cpan.org/authors/id/R/RG/RGRJR/
     18master_sites            ftp://ftp.parrot.org/pub/parrot/releases/stable/${version}/
    1919
    20 checksums               md5 0a87f7e5437315f67c0848c5cb2b6d0b
     20checksums               md5 649ce1fb7c0edaf89dc1cd52ff267b1a \
     21                        sha1 9e028f5fff38a332c13ad4389652a016d7a824f7 \
     22                        rmd160 46f60accd33f16cc910f4ea03840badc358d22c7
    2123
    2224depends_build           bin:perl:perl5
    23 depends_lib                     port:gmp port:icu
     25depends_lib             port:gmp port:icu
    2426
    2527configure.cmd           perl Configure.pl
    2628configure.pre_args      --prefix=${prefix}/lib/parrot
    27 # build static to avoid runtime lib issues for now
    28 configure.args          --optimize --parrot_is_shared=0
     29configure.args          --optimize
    2930
    30 # install target is temporarily disabled as it might conflict with development
    31 # users of a port should have no such trouble, however.
    32 destroot.target         reallyinstall
     31destroot.target         install
    3332
    3433build.type              gnu
    3534build.target
     
    4342        set bindir      ${destroot}${prefix}/bin
    4443        set docdir      ${destroot}${prefix}/share/doc/${name}
    4544        system "cd ${bindir} && ln -sf ${prefix}/lib/parrot/bin/parrot"
     45        system "cd ${prefix}/lib/parrot/bin && install_name_tool -change ${workpath}/parrot-${version}/blib/lib/libparrot.dylib ${prefix}/lib/parrot/lib/libparrot.dylib ${prefix}/lib/parrot/bin/parrot"
    4646
    4747        xinstall -m 755 -d ${docdir}
    4848}
    49 
    50 platform darwin 8 {
    51         configure.args-append --cc=/usr/bin/gcc-4.0 --link=/usr/bin/gcc-4.0 \
    52                 --ld=/usr/bin/gcc-4.0 --cxx=/usr/bin/g++-4.0
    53 }