diff options
author | dmcmahill <dmcmahill> | 2002-05-19 03:42:14 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-05-19 03:42:14 +0000 |
commit | fcd152da1c0adaf7fba1924e0d0fbd095e17ef12 (patch) | |
tree | 2cc46f4d898fc219785f0ef4bc61db6bfa76574b /mk | |
parent | 0cae0316a827113fd089d3c0c465e2271d3c615e (diff) | |
download | pkgsrc-fcd152da1c0adaf7fba1924e0d0fbd095e17ef12.tar.gz |
make f77 be the default fortran compiler instead of f2c-f77 for netbsd>=1.5.
f2c was really only needed in 1.4 and earlier days.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 26f3811434f..2e84f55498c 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.979 2002/05/18 21:33:32 schmonz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.980 2002/05/19 03:42:14 dmcmahill Exp $ # # This file is in the public domain. # @@ -209,7 +209,12 @@ PKG_FC?= f2c-f77 # it is anticipated that once /usr/bin/f77 is more stable that the following # default will be changed to f77. However, in the case where there is no # /usr/bin/f77, the default will remain as f2c-f77. -PKG_FC?= f2c-f77 +.for __tmp__ in 1.[5-9]* [2-9].* +. if ${MACHINE_PLATFORM:MNetBSD-${__tmp__}-*} != "" +PKG_FC?= f77 +. endif # MACHINE_PLATFORM +.endfor # __tmp__ +PKG_FC?= f2c-f77 . if (${PKG_FC} == "f2c-f77") # this is a DEPENDS not BUILD_DEPENDS because of the # shared Fortran libs |