pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/molden Don't care about using plain return in K&R...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8d87a05ad0e
branches: trunk
changeset: 648865:b8d87a05ad0e
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Mar 21 19:27:23 2015 +0000
description:
Don't care about using plain return in K&R function for clang.
diffstat:
misc/molden/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r a0452c86465f -r b8d87a05ad0e misc/molden/Makefile
--- a/misc/molden/Makefile Sat Mar 21 19:26:47 2015 +0000
+++ b/misc/molden/Makefile Sat Mar 21 19:27:23 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/10/09 14:06:42 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2015/03/21 19:27:23 joerg Exp $
DISTNAME= molden4.6
PKGNAME= ${DISTNAME:S/molden/&-/}
@@ -34,5 +34,10 @@
done ; \
done
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -Wno-return-type
+.endif
+
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index