Tue Nov 20 09:38:26 2018 UTC ()
f2c: strip -Werror for everyone. It's unsuitable for a release, and it
isn't an upstream choice, but is likely a result of using bsd.prog.mk in
files/

At least one person had an issue with it, although it (mysteriously) builds
fine with GCC 6.5 and -Werror, even now.

PR pkg/48482


(maya)
diff -r1.65 -r1.66 pkgsrc/lang/f2c/Makefile

cvs diff -r1.65 -r1.66 pkgsrc/lang/f2c/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/f2c/Makefile 2013/09/12 13:10:19 1.65
+++ pkgsrc/lang/f2c/Makefile 2018/11/20 09:38:26 1.66
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.65 2013/09/12 13:10:19 jperkin Exp $ 1# $NetBSD: Makefile,v 1.66 2018/11/20 09:38:26 maya Exp $
2 2
3DISTNAME= f2c-20100903 # see notes below 3DISTNAME= f2c-20100903 # see notes below
4PKGREVISION= 1 4PKGREVISION= 1
5CATEGORIES= lang 5CATEGORIES= lang
6MASTER_SITES= ${MASTER_SITE_LOCAL} 6MASTER_SITES= ${MASTER_SITE_LOCAL}
7 7
8MAINTAINER= dmcmahill@NetBSD.org 8MAINTAINER= dmcmahill@NetBSD.org
9HOMEPAGE= http://www.netlib.org/f2c/index.html 9HOMEPAGE= http://www.netlib.org/f2c/index.html
10COMMENT= Fortran to C compiler including a script to emulate f77 10COMMENT= Fortran to C compiler including a script to emulate f77
11 11
12CONFLICTS= egcs-current-19980608 12CONFLICTS= egcs-current-19980608
13 13
14WRKSRC= ${WRKDIR}/f2c 14WRKSRC= ${WRKDIR}/f2c
@@ -60,20 +60,16 @@ do-install: @@ -60,20 +60,16 @@ do-install:
60# created "on the fly" by the real master site with 60# created "on the fly" by the real master site with
61# no version number included. This makes it difficult 61# no version number included. This makes it difficult
62# at best to use the real master site. The distfile 62# at best to use the real master site. The distfile
63# was created by: 63# was created by:
64# ftp ftp://ftp.netlib.org/f2c.tar 64# ftp ftp://ftp.netlib.org/f2c.tar
65# tar -xvf f2c.tar f2c/00lastchange 65# tar -xvf f2c.tar f2c/00lastchange
66# more f2c/00lastchange 66# more f2c/00lastchange
67# 67#
68#read what the last change date was. 68#read what the last change date was.
69# 69#
70# mv f2c.tar f2c-yyyymmdd.tar 70# mv f2c.tar f2c-yyyymmdd.tar
71# gzip --best f2c-yyyymmdd.tar 71# gzip --best f2c-yyyymmdd.tar
72 72
73.include "../../mk/compiler.mk" 
74 
75.if !empty(PKGSRC_COMPILER:Mclang) 
76BUILDLINK_TRANSFORM+= rm:-Werror 73BUILDLINK_TRANSFORM+= rm:-Werror
77.endif 
78 74
79.include "../../mk/bsd.pkg.mk" 75.include "../../mk/bsd.pkg.mk"