#15569: Use --x-includes and --x-libraries in certain ports to build against the 10.4u SDK X11 libraries ------------------------------------+--------------------------------------- Reporter: david@bamsoftware.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: ------------------------------------+--------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: You should set universal_target to 10.4 and set universal_sysroot to /Developer/SDKs/MacOSX10.4u.sdk (because you want to target Mac OS X 10.4 and up) and set x11prefix to /usr/X11R6 (because that is where X11 is on Mac OS X 10.4). Well-behaved software should then look for X11 in ${universal_sysroot}{$x11prefix} at link time and in ${x11prefix} at runtime which should work for all users of Mac OS X 10.4 and later. I don't know that all ports you're interested in are thusly well-behaved because I haven't tried changing these variables from their default values. Actually since [ticket:15451 cairo doesn't currently build universal] and pango depends on cairo and gtk2 depends on pango, xrender is the only port in this ticket that can currently be universal at all. (If you have information to the contrary please explain.) I think it's probably a good idea to tell the ports where X11 is so I applied a slightly modified version of your patch in r38087. -- Ticket URL: <http://trac.macports.org/ticket/15569#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS