pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/flatbuffers
Module Name: pkgsrc
Committed By: nia
Date: Wed Aug 16 07:52:04 UTC 2023
Modified Files:
pkgsrc/devel/flatbuffers: Makefile
Log Message:
flatbuffers: Strip out -Werror to fix the build with newer compilers
While here, use USE_CXX_FEATURES to indicate a language requirement
rather than USE_LANGUAGES - it sets -std=c++0x by itself.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/flatbuffers/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/flatbuffers/Makefile
diff -u pkgsrc/devel/flatbuffers/Makefile:1.5 pkgsrc/devel/flatbuffers/Makefile:1.6
--- pkgsrc/devel/flatbuffers/Makefile:1.5 Sat May 9 13:46:59 2020
+++ pkgsrc/devel/flatbuffers/Makefile Wed Aug 16 07:52:04 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/05/09 13:46:59 mef Exp $
+# $NetBSD: Makefile,v 1.6 2023/08/16 07:52:04 nia Exp $
DISTNAME= flatbuffers-1.9.0
CATEGORIES= devel
@@ -11,11 +11,15 @@ COMMENT= Memory efficient serialization
LICENSE= apache-2.0
USE_CMAKE= yes
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DFLATBUFFERS_BUILD_SHAREDLIB=ON
+USE_CXX_FEATURES+= c++11
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
post-install:
${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/flatbuffers.h.orig
${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/reflection.h.orig
Home |
Main Index |
Thread Index |
Old Index