Ticket #37038: gdl-mpich.diff
File gdl-mpich.diff, 1.1 KB (added by eborisch (Eric A. Borisch), 12 years ago) |
---|
-
Portfile
25 25 set gshhsdata gshhs_${dataversion}.zip 26 26 distfiles ${gdlsrc}:gdl 27 27 worksrcdir gdl-${version} 28 patchfiles configure.in.patch 28 29 29 30 checksums ${gdlsrc} \ 30 31 md5 7178304e6737a8dca910d2c1061ff63c \ -
files/configure.in.patch
1 --- configure.in.orig 2012-11-18 09:42:02.000000000 -0600 2 +++ configure.in 2012-11-18 10:08:03.000000000 -0600 3 @@ -700,8 +700,8 @@ 4 5 if test "x$with_mpich" != "xno"; then 6 if test "x$with_mpich" != "xyes"; then 7 - LIBS="$LIBS -L$with_mpich/lib -lmpich" 8 - INCLUDES="$INCLUDES -I$with_mpich/include" 9 + LIBS="$LIBS -L$with_mpich/lib -lpmpich -lmpich -lopa -lmpl" 10 + INCLUDES="$INCLUDES -I$with_mpich/include/mpich" 11 else 12 INCLUDES="$INCLUDES -I/usr/include" 13 LIBS="$LIBS -lmpich"