summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2010-09-23 22:27:04 +0000
committerahoka <ahoka@pkgsrc.org>2010-09-23 22:27:04 +0000
commit98960e7bfea464995d4a170e595de611be8c4a42 (patch)
tree73545f3bd7317d2f32ce381837412f68cbb3d08f /lang
parent316d010152b39637ecf576497b810f98cbca1117 (diff)
downloadpkgsrc-98960e7bfea464995d4a170e595de611be8c4a42.tar.gz
dont -Werror with clang
Diffstat (limited to 'lang')
-rw-r--r--lang/f2c/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index 94fa891fa04..2c18443508a 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2010/07/31 20:31:33 dholland Exp $
+# $NetBSD: Makefile,v 1.55 2010/09/23 22:27:04 ahoka Exp $
DISTNAME= f2c-20090411 # see notes below
PKGREVISION= 5
@@ -65,4 +65,10 @@ do-install:
# mv f2c.tar f2c-yyyymmdd.tar
# gzip --best f2c-yyyymmdd.tar
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+BUILDLINK_TRANSFORM+= rm:-Werror
+.endif
+
.include "../../mk/bsd.pkg.mk"