This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
Home
humblehacker edited this page Nov 13, 2010
·
11 revisions
- pkg-config 0.25
- libfreetype2 2.4.2
- libfontconfig 2.8.0
- libsigc++ 2.2.8
- libpng 1.4.4
- pixman 0.20.0
- cairo 1.10.0
- cairomm 1.8.6
- iconv 1.13.1
- gettext 0.18.1.1
- glib 2.24.1
- glibmm 2.24.1
- pango 1.28.3
- pangomm 2.26.2
Do this once before building all of the above packages.
export MACOSX_DEPLOYMENT_TARGET=10.5
export LDFLAGS="-arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/usr/local/lib"
export CFLAGS="-Os -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/usr/local/include"
export CXXFLAGS="-Os -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/usr/local/include"
The instructions are the same for each package. Build them in the order listed above.
After extracting the tarball, run configure
. To avoid errors with -M
and -arch
,
add --disable-dependency-tracking
to ./configure
.
./configure --disable-dependency-tracking
This is not required for every package, but it doesn't hurt. Just ignore any related warnings.
glib requires some special care. First, apply the following patch:
http://trac.macports.org/export/69965/trunk/dports/devel/glib2/files/patch-configure.in.diff
Then, run autoconf
to regenerate configure
. (You may need to update autoconf to a newer
version first). Once that's done, run configure
with one additional argument:
./configure --disable-dependency-tracking --with-libiconv=gnu
Finally, build and install as usual.
make
make install