Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 16:35:47 -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:  <20080801233547.GA92862@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)

Arrgh.  The source code has tabs embedded, which expands the
line past 72 columns.  Tabs are illegal whitespace Fortran,
but most compilers assume 8 spaces.

Can you add -ffixed-line-length-none to FFLAGS?


-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080801233547.GA92862>