Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2008 18:43:29 -0500
From:      "M. L. Dodson" <mldodson@comcast.net>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [PATCH] graphics/raster3d -- replace g77 dependence by gfortran
Message-ID:  <48939FA1.5020209@comcast.net>
In-Reply-To: <20080801233547.GA92862@troutmask.apl.washington.edu>
References:  <20080801211634.GA55395@troutmask.apl.washington.edu> <48939B46.4000009@comcast.net> <20080801233547.GA92862@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl wrote:
> 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?
> 
> 

Works now.
Bud Dodson
-- 
M. L. Dodson
Email:	mldodson-at-comcast-net
Phone:	eight_three_two-five_63-386_one



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