Merge from vendor branch TNF:
[pkgsrc.git] / misc / root / patches / patch-ac
1 $NetBSD$
2 --- src/cfortran.h.orig Sat Nov  6 22:17:00 1999
3 +++ src/cfortran.h      Sat Nov  6 22:17:45 1999
4 @@ -80,7 +80,7 @@
5  #if !(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran))
6  /* If no Fortran compiler is given, we choose one for the machines we know.   */
7  #if defined(lynx) || defined(VAXUltrix) || defined(linux) || defined(_HIUX_SOURCE) || \
8 -    defined(__FreeBSD__)
9 +    defined(__FreeBSD__) || defined(__NetBSD__)
10  #define f2cFortran    /* Lynx:      Only support f2c at the moment.
11                           VAXUltrix: f77 behaves like f2c.
12                             Support f2c or f77 with gcc, vcc with f2c.