pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libxls



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Wed Jun 12 21:09:59 UTC 2019

Modified Files:
        pkgsrc/textproc/libxls: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/libxls/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libxls/Makefile
diff -u pkgsrc/textproc/libxls/Makefile:1.3 pkgsrc/textproc/libxls/Makefile:1.4
--- pkgsrc/textproc/libxls/Makefile:1.3 Mon May  6 09:17:13 2019
+++ pkgsrc/textproc/libxls/Makefile     Wed Jun 12 21:09:59 2019
@@ -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 @@ COMMENT=     Extract cell data from legacy M
 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