[MacPorts] #15754: freeciv doesn't compile on 10.4 (patch included)

MacPorts noreply at macports.org
Thu Jun 26 12:10:57 PDT 2008


#15754: freeciv doesn't compile on 10.4 (patch included)
--------------------------------+-------------------------------------------
 Reporter:  simon at macports.org  |       Owner:  rhwood at macports.org
     Type:  defect              |      Status:  new                
 Priority:  Normal              |   Milestone:  Port Bugs          
Component:  ports               |     Version:  1.6.0              
 Keywords:                      |  
--------------------------------+-------------------------------------------
 Hi,

 I just tried updating freeciv to version 2.1.5 and it failed with the
 following error:

 {{{
 In file included from graphics.c:31:
 /opt/local/include/SDL/SDL_syswm.h:55:22: error: X11/Xlib.h: No such file
 or directory
 }}}

 It looks it's missing the include path to `/usr/X11R6/include`, the
 following patch works for me:

 {{{
 --- a/dports/games/freeciv/Portfile
 +++ b/dports/games/freeciv/Portfile
 @@ -47,3 +47,5 @@ configure.args        \
      --with-libiconv-prefix=${prefix} \
      --with-sdl-prefix=${prefix} \
      --mandir=${prefix}/share/man
 +
 +configure.cflags-append "-I/usr/X11R6/include"
 }}}

 Thanks,

 Simon

-- 
Ticket URL: <http://trac.macports.org/ticket/15754>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list