Hi,

> http://build-failures.rhaalovely.net/sparc64/2019-11-08/games/braincurses.log

This port should be built with ports-gcc, but MAKE_ENV is not set, as
such the standard PATH applies, so finally it's built with base-gcc,
that can't deal with C++>98 :)

It just builds [0] and runs fine on macppc and amd64 with the proper
environment. I did not bump REVISION as it changes nothing on
base-clang archs, and this version has never built on base-gcc ones.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/braincurses.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/braincurses/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile    8 Nov 2019 09:46:48 -0000       1.10
+++ Makefile    12 Nov 2019 13:10:02 -0000
@@ -15,8 +15,8 @@ WANTLIB=      c curses m ${COMPILER_LIBCXX}
 COMPILER =     base-clang ports-gcc
 
 do-build:
-       cd ${WRKBUILD} && ${CXX} ${CXXFLAGS} -std=c++11 -o braincurses \
-           main.cpp code.cpp braincurses.cpp -lcurses
+       cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${CXX} ${CXXFLAGS} -std=c++11 \
+           -o braincurses main.cpp code.cpp braincurses.cpp -lcurses
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKBUILD}/braincurses ${PREFIX}/bin

Reply via email to