Ticket #18917: parrot.diff
File parrot.diff, 1.8 KB (added by jdfrens@…, 16 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name parrot 6 version 0.5.26 version 1.0.0 7 7 categories lang devel 8 8 maintainers bfulgham coleda.com:will 9 9 description Open source virtual machine (for Perl6 et al.) … … 15 15 16 16 platforms darwin 17 17 homepage http://www.parrotcode.org/ 18 master_sites http://www.cpan.org/authors/id/R/RG/RGRJR/18 master_sites ftp://ftp.parrot.org/pub/parrot/releases/stable/${version}/ 19 19 20 checksums md5 0a87f7e5437315f67c0848c5cb2b6d0b 20 checksums md5 649ce1fb7c0edaf89dc1cd52ff267b1a \ 21 sha1 9e028f5fff38a332c13ad4389652a016d7a824f7 \ 22 rmd160 46f60accd33f16cc910f4ea03840badc358d22c7 21 23 22 24 depends_build bin:perl:perl5 23 depends_lib 25 depends_lib port:gmp port:icu 24 26 25 27 configure.cmd perl Configure.pl 26 28 configure.pre_args --prefix=${prefix}/lib/parrot 27 # build static to avoid runtime lib issues for now 28 configure.args --optimize --parrot_is_shared=0 29 configure.args --optimize 29 30 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 31 destroot.target install 33 32 34 33 build.type gnu 35 34 build.target … … 43 42 set bindir ${destroot}${prefix}/bin 44 43 set docdir ${destroot}${prefix}/share/doc/${name} 45 44 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" 46 46 47 47 xinstall -m 755 -d ${docdir} 48 48 } 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.053 }