[MacPorts] #14876: nethack build failure

MacPorts noreply at macports.org
Sat Jul 26 16:05:49 PDT 2008


#14876: nethack build failure
-----------------------------+----------------------------------------------
  Reporter:  tietze at mail.dk  |       Owner:  macports-tickets at 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 at macports.org):

 * cc: blb at 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


More information about the macports-tickets mailing list