aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-07-17 10:47:47 +0800
committermaho <maho@FreeBSD.org>2007-07-17 10:47:47 +0800
commit30ac9905580db02b5dea0255fd58e011c10c25e5 (patch)
tree0a987398184f49c449a6526c7408286b24a32523
parent235e449bbcde216577e0975078d4c7604af6c425 (diff)
downloadfreebsd-ports-gnome-30ac9905580db02b5dea0255fd58e011c10c25e5.tar.gz
freebsd-ports-gnome-30ac9905580db02b5dea0255fd58e011c10c25e5.tar.zst
freebsd-ports-gnome-30ac9905580db02b5dea0255fd58e011c10c25e5.zip
Now we use USE_FORTRAN=yes to use FORTRAN compiler.
> If I haven't done it by Monday, you may commit it yourself. Now Monday is over in Shaun's timezone and mine as well :) Approved by: maintainer
-rw-r--r--graphics/raster3d/Makefile2
-rw-r--r--graphics/raster3d/files/patch-Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/raster3d/Makefile b/graphics/raster3d/Makefile
index e21a9c53d969..2027a7472a1f 100644
--- a/graphics/raster3d/Makefile
+++ b/graphics/raster3d/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
BINARIES= avs2ps balls rastep render ribbon rings3d rods normal3d
SCRIPTS= label3d stereo3d
-MAKE_ENV+= FFLAGS="${FFLAGS}"
+USE_FORTRAN= g77
.if !defined(WITHOUT_IMAGEMAGICK)
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
diff --git a/graphics/raster3d/files/patch-Makefile b/graphics/raster3d/files/patch-Makefile
index 74b2e617fcc7..c862db5edf22 100644
--- a/graphics/raster3d/files/patch-Makefile
+++ b/graphics/raster3d/files/patch-Makefile
@@ -9,7 +9,7 @@
+ @echo OS = freebsd >> Makefile.incl
+ @echo CC = ${CC} >> Makefile.incl
+ @echo CFLAGS = ${CFLAGS} >> Makefile.incl
-+ @echo FC = f77 >> Makefile.incl
++ @echo FC = ${F77} >> Makefile.incl
+ @echo FFLAGS = ${FFLAGS} >> Makefile.incl
+ @echo RM = /bin/rm -f >> Makefile.incl
+ @echo OSDEFS = -DLINUX -DNETWORKBYTEORDER >> Makefile.incl