56f334ba364a4438d364a0494494c073055f0431
[pkgsrc.git] / misc / root / patches / patch-ae
1 $NetBSD: patch-ae,v 1.2 2006/05/27 12:38:27 drochner Exp $
2
3 --- eg/inc/cfortran.h.orig      2006-05-26 18:20:11.000000000 +0200
4 +++ eg/inc/cfortran.h
5 @@ -89,7 +89,7 @@ only C calling FORTRAN subroutines will 
6  #if !(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran))
7  /* If no Fortran compiler is given, we choose one for the machines we know.   */
8  #if defined(lynx) || defined(VAXUltrix) || defined(linux) || defined(_HIUX_SOURCE) || \
9 -    defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
10 +    defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__NetBSD__)
11  #define f2cFortran    /* Lynx:      Only support f2c at the moment.
12                           VAXUltrix: f77 behaves like f2c.
13                             Support f2c or f77 with gcc, vcc with f2c.