Subject: Re: proposal: USE_FORTRAN
To: None <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 11/18/1999 00:43:55
On Wed, 17 Nov 1999 wrote:
> .if defined(USE_FORTRAN)
> .if !exists(/usr/bin/f77) || defined(USE_F2C)
> DEPENDS+=	f2c-19989812:${PKGSRCDIR}/lang/f2c

How about RUN_DEPENDS=...(different syntax) ?

>   The remaining question I have is if we should make f2c be the default
>   for now since f77 is buggy.  Long term, the goal should be to not ship a
>   buggy compiler.  I could perhaps implement f2c being the default by
>   something like:
>   USE_F2C?=	YES
>   .if defined(USE_F2C)
>   .if ${USE_F2C}=="NO"
>   .undef USE_F2C
>   .endif
>   .endif

Well, in that case save the .if-hackery and make the test:

 .if !exists(/usr/bin/f77) || (defined(USE_F2C) && ${USE_F2C} == "YES")

(or anything of more appropriate syntax)

> I will collect comments and suggestions before implementing this and doing
> the final testing on my system.

No objections from me, the ones noted above aside.

 - Hubert

NetBSD - Better for your uptime than Viagra