[PATCH] graphics/raster3d -- replace g77 dependence by gfortran
M. L. Dodson
mldodson at comcast.net
Fri Aug 1 23:59:30 UTC 2008
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 at 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
More information about the freebsd-ports
mailing list