[MacPorts] #18249: gv is linking against system x11 libraries

MacPorts noreply at macports.org
Wed Jan 28 12:49:41 PST 2009


#18249: gv is linking against system x11 libraries
-------------------------------+--------------------------------------------
 Reporter:  jjstickel@…        |       Owner:  jeremyhu@…           
     Type:  defect             |      Status:  new                  
 Priority:  Normal             |   Milestone:  Port Bugs            
Component:  ports              |     Version:  1.7.0                
 Keywords:  x11                |        Port:  gv                   
-------------------------------+--------------------------------------------
Changes (by jeremyhu@…):

  * owner:  ryandesign@… => jeremyhu@…


Comment:

 This patch is not enough to fix the problem ... it will break people using
 +system_X11

 You should probably do something like this:

 {{{
         # AC_X_PATH blindly asks xmkmf where X11 is, and it always uses
 /usr/X11R6.
         # These next three lines should cause AC_X_PATH to let us setup
 our CPPFLAGS
         # and LDFLAGS without interference
         configure.args-append --x-include=${prefix}/include
 --x-lib=${prefix}/lib
         configure.cppflags-append -I${x11prefix}/include
         configure.ldflags-append  -L${x11prefix}/lib
 }}}

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


More information about the macports-tickets mailing list