Date: Mon, 29 May 2006 14:44:29 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: "M. Warner Losh" <imp@bsdimp.com> Cc: lyndon@orthanc.ca, mf.danger@gmail.com, mikej@rogers.com, freebsd-current@freebsd.org, kmacy@fsmware.com Subject: Re: [RFC] Removal of Fortran from the base system Message-ID: <20060529214429.GB29556@troutmask.apl.washington.edu> In-Reply-To: <20060529.153644.1782790633.imp@bsdimp.com> References: <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> <4477F687.2030109@FreeBSD.org> <20060527065621.GA4814@troutmask.apl.washington.edu> <20060529.153644.1782790633.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 29, 2006 at 03:36:44PM -0600, M. Warner Losh wrote: > In message: <20060527065621.GA4814@troutmask.apl.washington.edu> > Steve Kargl <sgk@troutmask.apl.washington.edu> writes: > : On Fri, May 26, 2006 at 11:49:43PM -0700, Maxim Sobolev wrote: > : > C'mon. Nothing in the base system requires fortran - install the > : > version you like from ports and enjoy the life. What's the problem? > : > > : > : The problems are the Cons points in my initial post. > : FreeBSD has always shipped a Fortran compiler. Stripping > : it out violates POLA. Additionally, the the Ports Collection > : currently assumes the availability of a Fortran compiler. > : > : What happens with > : > : cd /usr/ports/math/lapack > : make install > > If the above just works with gfortran as a port, or in the base > system, what's the difference to the end user? > It doesin't work because the port maintainer has explicitly included a LDADD+=-lg2c in the Makefile. Applying this patch to math/lapack/script/configure and everything works fine with systems that do not have /usr/bin/f77 and its runtime library. troutmask:sgk[203] more conf.diff --- configure.orig Sun May 28 14:38:00 2006 +++ configure Sun May 28 14:38:20 2006 @@ -1,9 +1,3 @@ -if [ ${OSVERSION} -lt 400012 ]; then - LIBG2C=f2c -else - LIBG2C=g2c -fi - cd $WRKSRC/SRC || exit 1 mv Makefile Makefile.old @@ -11,8 +5,6 @@ LIB= lapack SHLIB_MAJOR= 3 SHLIB_MINOR= 0 - -LDADD= -l${LIBG2C} END cat >>Makefile <<'END' -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060529214429.GB29556>