Ticket #44145: pythia.diff
File pythia.diff, 1.7 KB (added by cjones051073 (Chris Jones), 10 years ago) |
---|
-
science/pythia/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 4 5 5 6 name pythia 6 version 8.18 07 version 8.185 7 8 set my_version [strsed ${version} g/\\.//] 8 9 categories science 9 10 platforms darwin … … 24 25 distname ${name}${my_version} 25 26 extract.suffix .tgz 26 27 27 checksums rmd160 9 b887a39da0e4d6c00d75f96e15f536589cdc4ab\28 sha256 7c3ce6efbdc588035e333a6dbbde56755066a237caadf9df00f22248c2033df028 checksums rmd160 9189d5ade9328206ea5a7d872871d1f590258e2e \ 29 sha256 6dfb623346bb5313d9fe527ce95c3daf26f5d6a595bea84b898d28edd8bd28f7 29 30 30 31 universal_variant no 31 32 … … 32 33 depends_lib port:zlib \ 33 34 port:boost 34 35 35 configure.pre_args 36 configure.args --enable-shared \ 37 --with-boost=${prefix} \ 38 --with-zlib=${prefix}/lib 36 configure.args-append --enable-shared \ 37 --with-boost=${prefix} \ 38 --with-zlib=${prefix}/lib 39 39 40 build.args CC=${configure.cc} \ 41 CXX=${configure.cxx} 40 pre-configure { 41 if { ${configure.cxx_stdlib} eq "libc++" } { 42 build.args CC=${configure.cc} CXX=${configure.cxx}" -stdlib=libc++" 43 } else { 44 build.args CC=${configure.cc} CXX=${configure.cxx} 45 } 46 } 42 47 43 48 post-build { 44 49 foreach dylib {libpythia8.dylib liblhapdfdummy.dylib} {