From b3483700eb2489a71d1408f180d060b08117341f Mon Sep 17 00:00:00 2001 From: khorben Date: Thu, 17 Jan 2019 15:56:05 +0000 Subject: Fix build for math/libnumbertext on netbsd-7 This package makes use of features from C++11, that only GCC 5.x or newer actually supports (codecvt and regex). --- math/libnumbertext/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'math') diff --git a/math/libnumbertext/Makefile b/math/libnumbertext/Makefile index c47eaa9bc59..b830ec399a7 100644 --- a/math/libnumbertext/Makefile +++ b/math/libnumbertext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2018/08/15 14:02:46 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2019/01/17 15:56:05 khorben Exp $ DISTNAME= libnumbertext-1.0.3 CATEGORIES= math @@ -15,7 +15,9 @@ LICENSE= modified-bsd GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++11 + +GCC_REQD+= 5.0 PKGCONFIG_OVERRIDE+= libnumbertext.pc.in -- cgit v1.2.3