aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ratfor
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-02-17 01:15:31 +0800
committertijl <tijl@FreeBSD.org>2014-02-17 01:15:31 +0800
commitf86cbfadd2dbfab1dc1ea72e5084a23c10b1dc6c (patch)
tree49e521faa408bc4bd163bfb0febf91e262772c1c /lang/ratfor
parente04e533cf1bc01e44ad69d14d5c6c205e25bfe3a (diff)
downloadfreebsd-ports-gnome-f86cbfadd2dbfab1dc1ea72e5084a23c10b1dc6c.tar.gz
freebsd-ports-gnome-f86cbfadd2dbfab1dc1ea72e5084a23c10b1dc6c.tar.zst
freebsd-ports-gnome-f86cbfadd2dbfab1dc1ea72e5084a23c10b1dc6c.zip
Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though. Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk. Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,... Exp-run: bdrewery Approved by: portmgr (bdrewery)
Diffstat (limited to 'lang/ratfor')
-rw-r--r--lang/ratfor/Makefile3
-rw-r--r--lang/ratfor/files/patch-Makefile9
2 files changed, 10 insertions, 2 deletions
diff --git a/lang/ratfor/Makefile b/lang/ratfor/Makefile
index 3549446250f5..faac32272381 100644
--- a/lang/ratfor/Makefile
+++ b/lang/ratfor/Makefile
@@ -20,8 +20,7 @@ EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | ${SH}
ALL_TARGET= all tests
MAN1= ratfor.1
-
-USE_FORTRAN= yes
+USES= fortran
NO_STAGE= yes
post-patch:
diff --git a/lang/ratfor/files/patch-Makefile b/lang/ratfor/files/patch-Makefile
index 2fca4ba2d99e..7ded0badaae8 100644
--- a/lang/ratfor/files/patch-Makefile
+++ b/lang/ratfor/files/patch-Makefile
@@ -1,5 +1,14 @@
--- Makefile.orig 2013-11-16 17:28:28.000000000 +0100
+++ Makefile 2013-11-16 17:27:51.000000000 +0100
+@@ -11,7 +11,7 @@
+ # On GNU, use S_CHAR="char"
+ #
+
+-CFLAGS+= -DF77 -DS_CHAR="char"
++CFLAGS+= -DF77 -DS_CHAR="char" -Wno-error=return-type
+ #CFLAGS+= -DS_CHAR="char"
+ OBJS= rat4.o lookup.o getopt.o
+
@@ -26,13 +26,15 @@
clean:
rm -f *.o *~ ratfor ratfor77 a.out test testw test.f testw.f