summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2019-01-17 15:56:05 +0000
committerkhorben <khorben@pkgsrc.org>2019-01-17 15:56:05 +0000
commitb3483700eb2489a71d1408f180d060b08117341f (patch)
treebbe94f6fd58180f4cf424761dc13594fafd5bb9e /math
parent6eaf6c3a858dd81a724a4d000979fd1ef2a7d3e2 (diff)
downloadpkgsrc-b3483700eb2489a71d1408f180d060b08117341f.tar.gz
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).
Diffstat (limited to 'math')
-rw-r--r--math/libnumbertext/Makefile6
1 files changed, 4 insertions, 2 deletions
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