On Mon, May 29, 2006 at 03:36:44PM -0600, M. Warner Losh wrote: > In message: <20060527065621.GA4814_at_troutmask.apl.washington.edu> > Steve Kargl <sgk_at_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 _at__at_ -1,9 +1,3 _at__at_ -if [ ${OSVERSION} -lt 400012 ]; then - LIBG2C=f2c -else - LIBG2C=g2c -fi - cd $WRKSRC/SRC || exit 1 mv Makefile Makefile.old _at__at_ -11,8 +5,6 _at__at_ LIB= lapack SHLIB_MAJOR= 3 SHLIB_MINOR= 0 - -LDADD= -l${LIBG2C} END cat >>Makefile <<'END' -- SteveReceived on Mon May 29 2006 - 19:46:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC