pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/fam
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Jan 25 10:41:37 UTC 2018
Modified Files:
pkgsrc/sysutils/fam: Makefile
Log Message:
fam: Disable c++11-narrowing on SunOS with clang.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/sysutils/fam/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/fam/Makefile
diff -u pkgsrc/sysutils/fam/Makefile:1.43 pkgsrc/sysutils/fam/Makefile:1.44
--- pkgsrc/sysutils/fam/Makefile:1.43 Sun Nov 26 10:42:46 2017
+++ pkgsrc/sysutils/fam/Makefile Thu Jan 25 10:41:37 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2017/11/26 10:42:46 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2018/01/25 10:41:37 jperkin Exp $
DISTNAME= fam-2.7.0
PKGREVISION= 9
@@ -77,6 +77,11 @@ SUBST_SED.dirent+= -e 's/struct direct/s
.include "../../mk/compiler.mk"
+# type 'unsigned long' to 'rpcprog_t' (aka 'unsigned int')
+.if !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS.SunOS+= -Wno-c++11-narrowing
+.endif
+
.if !empty(PKGSRC_COMPILER:Msunpro)
BUILDLINK_TRANSFORM+= rm:-lstdc++
.endif
Home |
Main Index |
Thread Index |
Old Index