On Wed, Feb 14, 2018 at 09:42:17PM +0100, Matthias Kilian wrote: > > http://build-failures.rhaalovely.net//sparc64/2018-02-02/print/texlive/base.log > > This is probably related to my switch to use the bundled poppler > (rev. 1.95 of Makefile), which also removed the COMPILER setting, > and print/texlive/base now appears to *require* c++-11.
Bah! Updated version, with CXXFLAGS = -std=c++11 commented out, because a patch for fixing luatex with -stdc=c++11 was lost during the update to texlive-2017. I don't want to add that patch again now, because the diff below is only for fixing texlive on archs with a non-c++11 compiler in base. Builds without errors on amd64. Ciao, Kili Index: Makefile =================================================================== RCS file: /cvs/ports/print/texlive/base/Makefile,v retrieving revision 1.97 diff -u -p -r1.97 Makefile --- Makefile 30 Jan 2018 20:35:34 -0000 1.97 +++ Makefile 16 Feb 2018 23:39:21 -0000 @@ -5,6 +5,7 @@ COMMENT = base binaries for TeXLive typ DISTNAME = texlive-${DIST_V}-source PKGNAME = texlive_base-${V} WRKDIST = ${WRKDIR}/texlive-${DIST_V}-source +REVISION = 0 DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \ texlive-${DIST_V}-extra${EXTRACT_SUFX} @@ -45,11 +46,18 @@ LIB_DEPENDS = converters/libiconv \ MODULES = textproc/intltool perl +# c++-11 required for some subprojects +COMPILER = base-clang ports-gcc + # Never set SEPARATE_BUILD CONFIGURE_STYLE = gnu CPPFLAGS = -I${X11BASE}/include \ -I${LOCALBASE}/include + +# Not yet. Some parts (like luatex) will need patches to build with +# this: +# CXXFLAGS += -std=c++11 LDFLAGS = -L${LOCALBASE}/lib \ -L${X11BASE}/lib