Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: source-changes
Date: 11/22/1999 15:42:23
Module Name:	pkgsrc
Committed By:	dmcmahill
Date:		Mon Nov 22 23:42:23 UTC 1999

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
- Add USE_FORTRAN variable.  In packages which need a fortran compiler to build,
  USE_FORTRAN should be set in the package Makefile.  The logic added by this
  commit will choose a fortran compiler to use and set the correct dependency
  rather than having this selection scattered across each package which needs
  a fortran compiler.
- Add PKG_FC variable.  By setting PKG_FC in /etc/mk.conf, users can force the
  selection of which fortran compiler gets used by the package system.  If not
  specified, PKG_FC defaults to f2c-f77 on pre-1.4 systems that did not include
  /usr/bin/f77.  In addition PKG_FC defaults to f2c-f77 on newer systems since
  f77 is still somewhat buggy.  When /usr/bin/f77 becomes more stable, the
  default should be changed from f2c-f77 to f77.


To generate a diff of this commit:
cvs rdiff -r1.370 -r1.371 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.