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.
> 
> [EMAIL PROTECTED]: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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to