Hi ports, 

> http://build-failures.rhaalovely.net/powerpc/2019-02-04/x11/kde4/marble.log

Not much to say here, it's yet another case where it just 
needs -std=c++11.

It builds [1] and runs fine [2] once provided. 

Any comment?


Charlène. 


[1] http://0x0.st/zXjz.txt
[2] https://bsd.network/@julianaito/101749119665471201


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/kde4/marble/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile    1 Jul 2018 18:33:38 -0000       1.19
+++ Makefile    14 Mar 2019 13:18:43 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =      world maps
 DISTNAME =     marble-${MODKDE4_VERSION}
-REVISION =     6
+REVISION =     7
 
 SHARED_LIBS =  marblewidget            52.0 # 0.12
 SHARED_LIBS += astro                    1.0 # 0.17
@@ -68,3 +68,10 @@ post-install:
        done
 
 .include <bsd.port.mk>
+
+# fix error: #error Must have C++11 or newer.
+# XXX this should be retried once moving to ports-gcc>=8
+.if ${CHOSEN_COMPILER} == "ports-gcc"
+CONFIGURE_ENV +=     CXXFLAGS="${CXXFLAGS} -std=c++11"
+.endif
+


Reply via email to