Ticket #39813: patch-scotch-Portfile.diff
File patch-scotch-Portfile.diff, 2.0 KB (added by mkae (Marko Käning), 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name scotch 7 version 5.1.11 8 revision 5 7 version 6.0.0 9 8 10 9 # this is specific to this port and *version* for downloading it: 11 set release 2804310 set release 31831 12 11 13 12 categories science 14 13 maintainers mk pixilla … … 24 23 25 24 livecheck.type regex 26 25 livecheck.url https://gforge.inria.fr/frs/?group_id=248 27 livecheck.regex "scotch_( 5\\.\\d+\\.\\d+)\\.tar\\.gz"26 livecheck.regex "scotch_(6\\.\\d+\\.\\d+)\\.tar\\.gz" 28 27 29 28 use_bzip2 no 30 29 31 30 worksrcdir ${name}_${version}/src 32 31 33 checksums md5 36d638a227f38a219b51fe8ddc2093ac\34 sha1 7cee69345bd101b0dbd8aff9b410dea6834c32d6 \35 rmd160 2b72f555af192a17eecec65d50bd241ad87adec232 checksums md5 ba117428c0a6cd97d0c93e8b872bb3fe \ 33 sha1 eb32d846bb14449245b08c81e740231f7883fea6 \ 34 rmd160 a33f4666869e6a9ed9da1728b95a59310e29b988 36 35 37 36 use_configure no 38 37 … … 71 70 72 71 pre-build { 73 72 copy ${worksrcpath}/Make.inc/Makefile.inc.i686_mac_darwin8 ${worksrcpath}/Makefile.inc 73 reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Makefile 74 reinplace "s|mpirun|openmpirun|" ${worksrcpath}/check/Makefile 74 75 reinplace "s|gcc|\$(CC)|" ${worksrcpath}/Makefile.inc 76 reinplace "s|-DCOMMON_PTHREAD|-DCOMMON_PTHREAD -DCOMMON_PTHREAD_BARRIER|" ${worksrcpath}/Makefile.inc 75 77 reinplace "s|mpicc|${prefix}/bin/openmpicc|" ${worksrcpath}/Makefile.inc 76 78 } 77 79 78 80 build.target scotch ptscotch 81 # Use this instead if you want to run checks after the build: 82 #build.target scotch ptscotch check ptcheck 83 # But tests fail up to now (see ticket #39812)!!! 79 84 80 85 # scotch and ptscotch MUST be built sequentially according to scotch's INSTALL.txt 81 86 use_parallel_build no