Hi,

On Tue, Feb 13, 2018 at 09:29:07PM -0700, lan...@openbsd.org 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.

Unfortunately, I don't have the time to test this right now, but I
*think* the diff below should fix the problem (lthough  the CXXFLAGS
may cause problems).

It would be nice if some people could test-build with the diff on
sparc64 and amd64 to see wether the diff helps.

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    14 Feb 2018 20:33:36 -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,16 @@ LIB_DEPENDS =               converters/libiconv \
 
 MODULES =              textproc/intltool perl
 
+# c++-11 required for poppler
+COMPILER =             base-clang ports-gcc
+
 # Never set SEPARATE_BUILD
 CONFIGURE_STYLE =      gnu
 
 CPPFLAGS =     -I${X11BASE}/include \
                -I${LOCALBASE}/include
+
+CXXFLAGS +=    -std=c++11
 
 LDFLAGS =      -L${LOCALBASE}/lib \
                -L${X11BASE}/lib

Reply via email to