pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38626 (devel/atf, devel/exempi and misc/m17n-db build failures)
The following reply was made to PR pkg/38626; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38626 (devel/atf, devel/exempi and misc/m17n-db build
failures)
Date: Wed, 21 May 2008 21:28:57 -0500 (CDT)
On Thu, 22 May 2008, OBATA Akio wrote:
> If GNU_CONFIGURE=yes, "c" is automatically added to USE_LANGUAGES.
> At least on NetBSD 4.0,
> % cd /usr/pkgsrc/misc/m17n-db
> % make show-var VARNAME=USE_LANGUAGES
> c
Not on DragonFly.
Looks like bug on NetBSD, as it pulls in ../../mk/compiler/f2c.mk
On NetBSD:
tx:m17n-db$ make show-var VARNAME=_GCC_USE_F2C
yes
And on DragonFly:
pkgbox:/home/reed/pkgsrc/misc/m17n-db> bmake show-var VARNAME=_GCC_USE_F2C
no
Why does gcc.mk do the following?
# On older NetBSD systems and where the Fortran compiler doesn't exist,
# force the use of f2c-f77.
#
_GCC_USE_F2C= no
.if !exists(${FCPATH})
_GCC_USE_F2C= yes
.else
. for _pattern_ in 0.* 1.[0-4] 1.[0-4].*
. if !empty(MACHINE_PLATFORM:MNetBSD-${_pattern_}-*)
_GCC_USE_F2C= yes
. endif
. endfor
.endif
.if !empty(_GCC_USE_F2C:M[yY][eE][sS])
. include "../../mk/compiler/f2c.mk"
.endif
Maybe the above should probably only happen if
!empty(USE_LANGUAGES:Mfortran)
Home |
Main Index |
Thread Index |
Old Index