pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/libnumbertext Fix build for math/libnumbertext on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/860527072113
branches:  trunk
changeset: 390217:860527072113
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Thu Jan 17 15:56:05 2019 +0000

description:
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:

 math/libnumbertext/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 631d97d0b1ad -r 860527072113 math/libnumbertext/Makefile
--- a/math/libnumbertext/Makefile       Thu Jan 17 14:20:18 2019 +0000
+++ b/math/libnumbertext/Makefile       Thu Jan 17 15:56:05 2019 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index