summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 62422ea..62d1e31 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -21,9 +21,23 @@
FLAGS="--sysconfdir=/etc --localstatedir=/var --enable-tests --enable-compat-howl --enable-compat-libdns_sd"
# Feel free to add your own custom flags in here -Lathiat
+
+case "$MACHTYPE" in
+ powerpc-apple-darwin8.0)
+ export LIBTOOLIZE=/opt/local/bin/glibtoolize
+ export CFLAGS="-I/opt/local/include"
+ export LDFLAGS="-L/opt/local/lib"
+ export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"
+ FLAGS="$FLAGS --disable-monodoc --disable-mono --disable-qt3 --disable-qt4 --disable-python --disable-glib --disable-gtk --disable-xmltoman --disable-dbus --prefix=/opt --with-distro=none"
+ ;;
+esac
+
case "$USER" in
- lathiat|sebest)
- FLAGS="$FLAGS --disable-monodoc"
+ lathiat)
+ FLAGS="$FLAGS --disable-monodoc"
+ ;;
+ sebest)
+ FLAGS="$FLAGS --disable-monodoc --disable-mono --disable-qt3 --disable-qt4"
;;
esac