Re: [MacPorts] #14876: nethack build failure
#14876: nethack build failure -----------------------------+---------------------------------------------- Reporter: tietze@mail.dk | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: nethack build error -----------------------------+---------------------------------------------- Changes (by blb@macports.org): * cc: blb@macports.org (added) Comment: The original report appears to be some variant on the Tcl env bug (#13930); if you cd into work/nethack-3.4.3 and run {{{env CC= make all}}} you should see the same errors. Also, if you simply try running port again, it seems to build fine. The second issue reported by Eridius can be fixed by using -O2 instead of -O, the following Portfile diff does this: {{{ Index: Portfile =================================================================== --- Portfile (revision 38611) +++ Portfile (working copy) @@ -41,6 +41,10 @@ configure.cmd /bin/sh configure.pre_args setup.sh +## build ## + +build.args-append CFLAGS="-O2 -I../include" + ## destroot ## pre-destroot { }}} -- Ticket URL: <http://trac.macports.org/ticket/14876#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts