Subject: USE_FORTRAN problem
To: None <tech-pkg@netbsd.org>
From: Adam Ciarcinski <adam@pulstar.albedo.art.pl>
List: tech-pkg
Date: 01/10/2000 12:40:28
Hi,
I guess there is something wrong in mk/bsd.pkg.mk with USE_FORTRAN flag.
There is
[...]
.if defined(USE_FORTRAN)
.if !exists(/usr/bin/f77)
PKG_FC?= f2c-f77
.endif
# 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
.endif
[...]
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?
:)
regards
- Adam