summaryrefslogtreecommitdiff
path: root/bootstrap-bundle
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-bundle')
-rwxr-xr-xbootstrap-bundle8
1 files changed, 6 insertions, 2 deletions
diff --git a/bootstrap-bundle b/bootstrap-bundle
index f73b51c04..9dacdc47c 100755
--- a/bootstrap-bundle
+++ b/bootstrap-bundle
@@ -22,13 +22,17 @@ if ! test -f "build/bundle/$profile"; then
exit 1
fi
-envfile="$(pwd)/$(dirname "$0")/$profile_name.env"
+selfdir="$(pwd)/$(dirname "$0")"
+envfile="$selfdir/$profile_name.env"
pushd build/bundle &>/dev/null
./$profile -bv
./$profile -e > "$envfile"
popd &>/dev/null
+[ $profile_name = darwin ] && \
+ echo "export GTK2_RC_FILES=\"$selfdir/build/bundle/skeleton.darwin/Contents/Resources/etc/gtk-2.0/gtkrc\"" >> "$envfile"
+
source "$envfile"
CONFIGURE_ARGS="
@@ -39,7 +43,7 @@ CONFIGURE_ARGS="
--disable-gnome
--disable-docs
"
-[ $profile_name = osx ] && CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-osx"
+[ $profile_name = darwin ] && CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-osx"
./autogen.sh --prefix="$BUILD_PREFIX" $CONFIGURE_ARGS
cat <<EOF