diff --git a/www/cclive/Makefile b/www/cclive/Makefile index 776b7056a55..4e9328ebbf3 100644 --- a/www/cclive/Makefile +++ b/www/cclive/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2017/04/10 11:46:35 sthen Exp $ +# $OpenBSD: Makefile,v 1.15 2017/05/23 21:01:46 espie Exp $ # XXX check if still needed at next update CXXFLAGS += -std=c++11 @@ -28,9 +28,7 @@ MODULES = devel/gettext # XXX should use lua module # c++11 -MODULES += gcc4 -MODGCC4_ARCHS= * -MODGCC4_LANGS= c++ +WANT_CXX = base gcc USE_GROFF = Yes diff --git a/www/cclive/patches/patch-src_cc_options_h b/www/cclive/patches/patch-src_cc_options_h index f1a3d898c54..099d43255c9 100644 --- a/www/cclive/patches/patch-src_cc_options_h +++ b/www/cclive/patches/patch-src_cc_options_h @@ -1,10 +1,11 @@ -$OpenBSD: patch-src_cc_options_h,v 1.3 2015/06/29 07:14:10 jasper Exp $ +$OpenBSD: patch-src_cc_options_h,v 1.4 2017/05/23 21:01:46 espie Exp $ Add explicit includes, fixes build with Boost 1.56 https://github.com/legatvs/cclive/pull/2 ---- src/cc/options.h.orig Sat Nov 23 10:46:27 2013 -+++ src/cc/options.h Sun Jun 28 21:43:12 2015 +Index: src/cc/options.h +--- src/cc/options.h.orig ++++ src/cc/options.h @@ -37,6 +37,7 @@ #include #include @@ -13,3 +14,12 @@ https://github.com/legatvs/cclive/pull/2 #include #include +@@ -746,7 +747,7 @@ struct options : boost::noncopyable (private) + #endif + << "\n built on " << BUILD_TIME + << " for " << CANONICAL_TARGET +- << "\n with " << CXX", "CXXFLAGS ++ << "\n with " << CXX ", " CXXFLAGS + << "\n libquvi " << quvi::version() + << "\n libquvi-scripts " + << quvi_version(QUVI_VERSION_SCRIPTS)