Index: head/lang/ratfor/Makefile =================================================================== --- head/lang/ratfor/Makefile (revision 549676) +++ head/lang/ratfor/Makefile (revision 549677) @@ -1,36 +1,39 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= ratfor PORTVERSION= 1985.06 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= lang MASTER_SITES= LOCAL/obrien \ http://sepwww.stanford.edu/sep/prof/ DISTFILES= ratfor.shar.2 local.ratfor77.shar MAINTAINER= bofh@FreeBSD.org COMMENT= Rational FORTRAN compiler +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/README + BROKEN_aarch64= ./ratfor -o test.f test.r keeps creating huge output file BROKEN_powerpc= ./ratfor -o test.f test.r keeps creating huge output file BROKEN_powerpc64= ./ratfor -o test.f test.r keeps creating huge output file NO_WRKSUBDIR= yes EXTRACT_CMD= ${CAT} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= | ${SH} ALL_TARGET= all tests USES= fortran PLIST_FILES= bin/ratfor bin/ratfor77 man/man1/ratfor.1.gz post-patch: @${PATCH} -d ${WRKSRC} --quiet < ${WRKSRC}/testw.patch do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ${PREFIX}/bin/ratfor77 ${STAGEDIR}${PREFIX}/bin/ratfor + ${INSTALL} -lr ${STAGEDIR}${PREFIX}/bin/ratfor77 ${STAGEDIR}${PREFIX}/bin/ratfor ${INSTALL_MAN} ${WRKSRC}/ratfor.1 ${STAGEDIR}${PREFIX}/man/man1 .include Index: head/lang/ratfor/files/patch-Makefile =================================================================== --- head/lang/ratfor/files/patch-Makefile (revision 549676) +++ head/lang/ratfor/files/patch-Makefile (revision 549677) @@ -1,31 +1,34 @@ ---- Makefile.orig 2013-11-16 17:28:28.000000000 +0100 -+++ Makefile 2013-11-16 17:27:51.000000000 +0100 +--- Makefile.orig 2020-09-23 11:00:09 UTC ++++ Makefile @@ -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 @@ +@@ -26,13 +26,18 @@ ratfor: ratfor77 clean: rm -f *.o *~ ratfor ratfor77 a.out test testw test.f testw.f -test: ratfor ++.f: ++ ${FC} -o $@ $< ++ +test: test.f + +test.f: ratfor ./ratfor -o test.f test.r - f77 -o test test.f -testw: ratfor +testw: testw.f + +testw.f: ratfor ./ratfor -o testw.f testw.r - f77 -o testw testw.f tests: test testw ./test