summaryrefslogtreecommitdiff
path: root/misc/rocs/Makefile
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2016-05-23 05:03:37 +0000
committerbsiegert <bsiegert>2016-05-23 05:03:37 +0000
commitffc110ae9845bdb1f9ab0ee1b36e43e525164d30 (patch)
treea3645ed32658b309759c669390917d8e88fbdde4 /misc/rocs/Makefile
parentd70a1d75638c21e56910050e27516367478e6822 (diff)
downloadpkgsrc-ffc110ae9845bdb1f9ab0ee1b36e43e525164d30.tar.gz
Pullup ticket #4998 - requested by joerg
misc/rocs: build fix Revisions pulled up: - misc/rocs/Makefile 1.40 - misc/rocs/distinfo 1.12 - misc/rocs/patches/patch-RocsCore_DataStructures_Graph_GraphStructure.cpp 1.1 --- Module Name: pkgsrc Committed By: joerg Date: Sat May 7 10:06:40 UTC 2016 Modified Files: pkgsrc/misc/rocs: Makefile distinfo Added Files: pkgsrc/misc/rocs/patches: patch-RocsCore_DataStructures_Graph_GraphStructure.cpp Log Message: With newer Boost, this now must be built as C++11. Unrestrict make_pair to help GCC 4.8 figure out the right template of make_pair.
Diffstat (limited to 'misc/rocs/Makefile')
-rw-r--r--misc/rocs/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/rocs/Makefile b/misc/rocs/Makefile
index 857275619d5..9a2eae263a8 100644
--- a/misc/rocs/Makefile
+++ b/misc/rocs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2016/03/05 11:28:58 jperkin Exp $
+# $NetBSD: Makefile,v 1.39.2.1 2016/05/23 05:03:37 bsiegert Exp $
DISTNAME= rocs-${_KDE_VERSION}
PKGREVISION= 5
@@ -9,6 +9,11 @@ COMMENT= KDE graph theory IDE
CMAKE_ARGS+= -DKDE4_BUILD_TESTS:BOOL=OFF
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(PKGSRC_COMPILER:Mgcc)
+CXXFLAGS+= -std=c++11
+.endif
+
.include "../../meta-pkgs/kde4/kde4.mk"
.include "../../devel/boost-libs/buildlink3.mk"