Hi,
~dd -stdc=c++11 to CXXFLAGS to kill a lot of warnings and (more
important) give it at least a chance to survive configure with
poppler->= 0.58 (the build with poppler-0.59 still fails, but that's
another story I'm still working on).
While here, expand "gcc" to "base-clang ports-gcc" in COMPILER.
Cmments and/or ok? A test build on architectures without clang in
base (especially sparc64) would be nice, too.
Ciao,
Kili
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/texlive/base/Makefile,v
retrieving revision 1.92
diff -u -p -r1.92 Makefile
--- Makefile 24 Aug 2017 09:45:23 -0000 1.92
+++ Makefile 20 Sep 2017 21:06:39 -0000
@@ -47,7 +47,7 @@ LIB_DEPENDS = converters/libiconv \
MODULES = textproc/intltool perl
# c++-11 required for poppler
-COMPILER = gcc
+COMPILER = base-clang ports-gcc
# Never set SEPARATE_BUILD
CONFIGURE_STYLE = gnu
@@ -55,6 +55,8 @@ CONFIGURE_STYLE = gnu
CPPFLAGS = -I${X11BASE}/include \
-I${LOCALBASE}/include \
-I${LOCALBASE}/include/poppler
+
+CXXFLAGS += -std=c++11
LDFLAGS = -L${LOCALBASE}/lib \
-L${X11BASE}/lib