[142652] trunk/dports/science/netcdf-fortran

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 06:39:49 PST 2015


Revision: 142652
          https://trac.macports.org/changeset/142652
Author:   ryandesign at macports.org
Date:     2015-11-18 10:59:26 -0800 (Wed, 18 Nov 2015)
Log Message:
-----------
netcdf-fortran: fix configure failure when nawk is installed

Modified Paths:
--------------
    trunk/dports/science/netcdf-fortran/Portfile

Added Paths:
-----------
    trunk/dports/science/netcdf-fortran/files/nawk.patch

Modified: trunk/dports/science/netcdf-fortran/Portfile
===================================================================
--- trunk/dports/science/netcdf-fortran/Portfile	2015-11-18 18:29:06 UTC (rev 142651)
+++ trunk/dports/science/netcdf-fortran/Portfile	2015-11-18 18:59:26 UTC (rev 142652)
@@ -45,6 +45,8 @@
     set universal_archs_supported "ppc ppc64"
 }
 
+patchfiles          nawk.patch
+
 post-patch {
     if {[variant_isset g95]} {
         reinplace "s|lt_cv_ld_force_load=yes|lt_cv_ld_force_load=no|" ${worksrcpath}/configure

Added: trunk/dports/science/netcdf-fortran/files/nawk.patch
===================================================================
--- trunk/dports/science/netcdf-fortran/files/nawk.patch	                        (rev 0)
+++ trunk/dports/science/netcdf-fortran/files/nawk.patch	2015-11-18 18:59:26 UTC (rev 142652)
@@ -0,0 +1,11 @@
+--- configure.orig	2015-02-02 15:37:32.000000000 -0600
++++ configure	2015-11-18 12:54:25.000000000 -0600
+@@ -3236,7 +3236,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+ $as_echo "$MKDIR_P" >&6; }
+ 
+-for ac_prog in gawk mawk nawk awk
++for ac_prog in gawk mawk awk
+ do
+   # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/2685c1c2/attachment.html>


More information about the macports-changes mailing list