summaryrefslogtreecommitdiff
path: root/lang/f2c
diff options
context:
space:
mode:
authorahoka <ahoka>2010-09-23 22:27:04 +0000
committerahoka <ahoka>2010-09-23 22:27:04 +0000
commit388884d42f71a93e33c91942347a466eefaf4569 (patch)
tree73545f3bd7317d2f32ce381837412f68cbb3d08f /lang/f2c
parentef973a3f9acbf255a9df71a1b728e374bc6b5cad (diff)
downloadpkgsrc-388884d42f71a93e33c91942347a466eefaf4569.tar.gz
dont -Werror with clang
Diffstat (limited to 'lang/f2c')
-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"