Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2015 14:27:03 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396749 - head/lang/ratfor
Message-ID:  <201509121427.t8CER3Rv081102@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509121427.t8CER3Rv081102>