pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/libxls textproc/libxls: work around pre-C++11...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5df99c347ab0
branches: trunk
changeset: 396936:5df99c347ab0
user: sjmulder <sjmulder%pkgsrc.org@localhost>
date: Wed Jun 12 21:09:59 2019 +0000
description:
textproc/libxls: work around pre-C++11 GCC errors
C++11 support is needed only for a test but causing the build to fail
on older but still suported OSes like RHEL 6. A patch has been
submitted upstream to simply skip the test if C++11 support is lacking,
but until then, use GCC_REQD.
diffstat:
textproc/libxls/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 003349e30c3f -r 5df99c347ab0 textproc/libxls/Makefile
--- a/textproc/libxls/Makefile Wed Jun 12 20:57:07 2019 +0000
+++ b/textproc/libxls/Makefile Wed Jun 12 21:09:59 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/05/06 09:17:13 sjmulder Exp $
+# $NetBSD: Makefile,v 1.4 2019/06/12 21:09:59 sjmulder Exp $
DISTNAME= libxls-1.5.1
CATEGORIES= textproc
@@ -11,9 +11,12 @@
LICENSE= 2-clause-bsd
GNU_CONFIGURE= yes
-# cplusplus/* is used for tests, but built always
+# C++11 support needed only for a test, see:
+# https://github.com/libxls/libxls/pull/61
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
+# workaround for failed builds until above PR is merged
+GCC_REQD+= 4.8
TEST_TARGET= check
Home |
Main Index |
Thread Index |
Old Index