Hi,

> http://build-failures.rhaalovely.net/sparc64/2020-03-08/graphics/pstoedit.log
(not yet on macppc)

Back in the ports-gcc-4.9 days we had to force C++11, but now it's
useless with gcc-8.3, and it wants C++14 at least.

Once `-std=c++11' is removed, it builds fine on macppc [0] and is
still fine on amd64. 

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/pstoedit-3.75p0.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/pstoedit/Makefile,v
retrieving revision 1.31
diff -u -p -u -p -r1.31 Makefile
--- Makefile    5 Mar 2020 21:02:17 -0000       1.31
+++ Makefile    11 Mar 2020 18:45:03 -0000
@@ -3,6 +3,7 @@
 COMMENT=       translate PostScript/PDF graphics to other vector formats
 
 DISTNAME=      pstoedit-3.75
+REVISION=      0
 SHARED_LIBS=   pstoedit 3.0
 CATEGORIES=    graphics
 
@@ -26,11 +27,8 @@ CONFIGURE_ARGS=      --without-libplot       \
                --without-magick
 WANTLIB=       c ${COMPILER_LIBCXX} m
 
-# c++11
-COMPILER =     base-clang ports-gcc base-gcc
-
-# This should be reviewed once moving to ports-gcc>=8
-CXXFLAGS +=    -std=c++11
+# c++14
+COMPILER =     base-clang ports-gcc
 
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${PREFIX}/man/man1

Reply via email to