Date: Fri, 1 Aug 2008 16:39:59 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: "M. L. Dodson" <mldodson@comcast.net> Cc: freebsd-ports@freebsd.org Subject: Re: [PATCH] graphics/raster3d -- replace g77 dependence by gfortran Message-ID: <20080801233959.GB92862@troutmask.apl.washington.edu> In-Reply-To: <48939B46.4000009@comcast.net> References: <20080801211634.GA55395@troutmask.apl.washington.edu> <48939B46.4000009@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 01, 2008 at 06:24:54PM -0500, M. L. Dodson wrote: > Steve Kargl wrote: > >diff -urN raster3d.old/Makefile raster3d/Makefile > >--- raster3d.old/Makefile 2008-02-01 04:05:24.000000000 -0800 > >+++ raster3d/Makefile 2008-08-01 14:09:43.000000000 -0700 > >@@ -23,7 +23,8 @@ > > BINARIES= avs2ps balls rastep render ribbon rings3d rods normal3d > > SCRIPTS= label3d stereo3d > > > >-USE_FORTRAN= g77 > >+USE_FORTRAN= yes > >+FFLAGS+= -fno-range-check > > > > .if !defined(WITHOUT_IMAGEMAGICK) > > RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick > > Applied patch. > > [root@histidine.activesitedynamics.com:85] % make > gfortran42 -O -fno-range-check -c render.f > render.f:3687.72: > > CALL ASSERT(TYPE(INEXT).EQ.VERTRANSP,'lost vertex transp' > 1 > Error: Syntax error in argument list at (1) > *** Error code 1 For the record, I did not run into this error due to ithe patch that follows. Yes, there are very good reasons to prefer 4.3 over 4.2 (eg., symbol versions, and hundreds of bug fixes). --- bsd.gcc.mk.orig 2008-08-01 12:15:39.000000000 -0700 +++ bsd.gcc.mk 2008-08-01 12:16:17.000000000 -0700 @@ -69,11 +69,11 @@ # .if defined (USE_FORTRAN) -# gfortran42 from lang/gcc42 is the default for now. -. if ${USE_FORTRAN} == yes || ${USE_FORTRAN} == gfortran42 -BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 -FC:= gfortran42 -F77:= gfortran42 +# gfortran43 from lang/gcc43 is the default for now. +. if ${USE_FORTRAN} == yes || ${USE_FORTRAN} == gfortran43 +BUILD_DEPENDS+= gfortran43:${PORTSDIR}/lang/gcc43 +FC:= gfortran43 +F77:= gfortran43 . endif # Intel Fortran compiler from lang/ifc. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080801233959.GB92862>