aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-07-12 15:29:27 +0800
committermaho <maho@FreeBSD.org>2007-07-12 15:29:27 +0800
commit73479c6a710e779eaf28d1df4ae1fbe13f0dc013 (patch)
treeadac727601b60f8b550b7f541508bd41294e0183
parentf8b703f7789532345b2bd106132015d458438aeb (diff)
downloadfreebsd-ports-gnome-73479c6a710e779eaf28d1df4ae1fbe13f0dc013.tar.gz
freebsd-ports-gnome-73479c6a710e779eaf28d1df4ae1fbe13f0dc013.tar.zst
freebsd-ports-gnome-73479c6a710e779eaf28d1df4ae1fbe13f0dc013.zip
Now we use USE_FORTRAN=yes to use FORTRAN.
-rw-r--r--cad/calculix/Makefile5
-rw-r--r--cad/feappv/Makefile5
-rw-r--r--cad/tochnog/Makefile5
3 files changed, 3 insertions, 12 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index 9e6c5acb3067..644a6d623748 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -69,10 +69,7 @@ BLAS_LIBS= -lblas
LAPACK_LIBS= -llapack
.endif
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
.if ${ARCH} == "sparc64"
CFLAGS+= -fPIC
diff --git a/cad/feappv/Makefile b/cad/feappv/Makefile
index e05228d49f7a..fcb35f753e47 100644
--- a/cad/feappv/Makefile
+++ b/cad/feappv/Makefile
@@ -26,10 +26,7 @@ EXTRACT_BEFORE_ARGS= -L
WRKSRC= ${WRKDIR}/ver20
USE_XLIB= yes
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
FFLAGS+= -O2
MAKEFILE= makefile
ALL_TARGET= install
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index 3cbf7b2550b1..ca7a99bf9852 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -58,10 +58,7 @@ SUPERLU= superlu
ALL_TARGET= freebsd_old
.endif
-WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
-FC= gfortran42
-F77= gfortran42
+USE_FORTRAN= yes
FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..