Subject: USE_FORTRAN problem
To: None <>
From: Adam Ciarcinski <>
List: tech-pkg
Date: 01/10/2000 12:40:28

I guess there is something wrong in mk/ with USE_FORTRAN flag.
There is

.if defined(USE_FORTRAN)
.if !exists(/usr/bin/f77)
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
.if  (${PKG_FC} == "f2c-f77")
BUILD_DEPENDS+=       f2c-f77:${PKGSRCDIR}/lang/f2c

So when I set USE_FORTRAN=yes and /usr/bin/f77 exists, f2c-f77 package
from lang/f2c builds anyway, right?  While it should not.  Or am I wrong?


		- Adam