[MacPorts] #15569: Use --x-includes and --x-libraries in certain ports to build against the 10.4u SDK X11 libraries
MacPorts
noreply at macports.org
Mon Jul 7 09:38:31 PDT 2008
#15569: Use --x-includes and --x-libraries in certain ports to build against the
10.4u SDK X11 libraries
------------------------------------+---------------------------------------
Reporter: david at bamsoftware.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: closed
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.7.0
Resolution: fixed | Keywords:
------------------------------------+---------------------------------------
Comment (by david at bamsoftware.com):
Replying to [comment:7 ryandesign at macports.org]:
> 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.
That sounds like the way it should work. However I tried it (in a brand
new ports tree in /opt/local-alt, with {{{--with-applications-dir=/opt
/local-alt/Applications}}} and {{{--with-frameworks-dir=/opt/local-
alt/Library/Frameworks}}}, but it didn't work. The libraries that are
built are still linked against libXau. I'm going to keep using my current
workaround
({{{--with-x11-prefix=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6}}}).
> 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.)
cairo builds universal for me using the custom patch against MacPorts that
I use to build Zenmap. I submitted the cairo and openssl part of that
patch in #15570. If you want to see the complete patch it's at
svn://svn.insecure.org/zenmap/install_scripts/macosx/macports-1.7.0-universal.diff.
Thanks to a lot of recent universal-compatibility work in MacPorts it's a
lot smaller than it once was.
--
Ticket URL: <http://trac.macports.org/ticket/15569#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list