svn commit: r396749 - head/lang/ratfor

Alexey Dokuchaev danfe at FreeBSD.org
Sat Sep 12 14:27:04 UTC 2015


Author: danfe
Date: Sat Sep 12 14:27:03 2015
New Revision: 396749
URL: https://svnweb.freebsd.org/changeset/ports/396749

Log:
  - Provide descriptive BROKEN_powerpc statement
  - Avoid cd'ing to ${WRKSRC} when invoking patch(1)
  - Tighten COMMENT text while I'm here

Modified:
  head/lang/ratfor/Makefile

Modified: head/lang/ratfor/Makefile
==============================================================================
--- head/lang/ratfor/Makefile	Sat Sep 12 13:58:00 2015	(r396748)
+++ head/lang/ratfor/Makefile	Sat Sep 12 14:27:03 2015	(r396749)
@@ -10,7 +10,9 @@ MASTER_SITES=	LOCAL/obrien \
 DISTFILES=	ratfor.shar.2 local.ratfor77.shar
 
 MAINTAINER=	bofh at FreeBSD.org
-COMMENT=	Ratfor -- the Rational FORTRAN compiler
+COMMENT=	Rational FORTRAN compiler
+
+BROKEN_powerpc=	./ratfor -o test.f test.r keeps creating huge output file
 
 NO_WRKSUBDIR=	yes
 EXTRACT_CMD=	${CAT}
@@ -22,17 +24,11 @@ USES=		fortran
 PLIST_FILES=	bin/ratfor bin/ratfor77 man/man1/ratfor.1.gz
 
 post-patch:
-	@cd ${WRKSRC} ; ${PATCH} --quiet < testw.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_MAN} ${WRKSRC}/ratfor.1 ${STAGEDIR}${PREFIX}/man/man1
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not compile on powerpc
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list