Ticket #37038: gdl-mpich.diff

File gdl-mpich.diff, 1.1 KB (added by eborisch (Eric A. Borisch), 11 years ago)
  • Portfile

     
    2525set gshhsdata       gshhs_${dataversion}.zip
    2626distfiles           ${gdlsrc}:gdl
    2727worksrcdir                  gdl-${version}
     28patchfiles          configure.in.patch
    2829
    2930checksums           ${gdlsrc} \
    3031                    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"