aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim <kolmax94@gmail.com>2011-06-05 23:04:16 +0400
committerMaxim <kolmax94@gmail.com>2011-06-05 23:04:16 +0400
commit608d1b9c08e888b4d4da36ea5e4deb600f959d5a (patch)
treeff4bd0731620c3412638b83dadddc4b2e343349b /script/full-bootstrap-prefix.sh
parentChanged repo_name to match overlay name (diff)
downloadgentoo-openbsd-608d1b9c08e888b4d4da36ea5e4deb600f959d5a.tar.gz
gentoo-openbsd-608d1b9c08e888b4d4da36ea5e4deb600f959d5a.tar.bz2
gentoo-openbsd-608d1b9c08e888b4d4da36ea5e4deb600f959d5a.zip
Fix xz-utils compilation in full-bootstrap script
Diffstat (limited to 'script/full-bootstrap-prefix.sh')
-rwxr-xr-xscript/full-bootstrap-prefix.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/script/full-bootstrap-prefix.sh b/script/full-bootstrap-prefix.sh
index bbbf90a..0e07a63 100755
--- a/script/full-bootstrap-prefix.sh
+++ b/script/full-bootstrap-prefix.sh
@@ -50,10 +50,11 @@ export ACCEPT_KEYWORDS="* ~*"
[ ! -x ${EPREFIX}/usr/bin/automake-* ] && emerge -1 -O automake
[ ! -x ${EPREFIX}/usr/bin/automake ] && emerge -1 -O automake-wrapper
[ ! -x ${EPREFIX}/usr/bin/libtool ] && emerge -1 -O libtool
-#
-# FIXME: this fails with an error that the print function was not found in libtool
-#[ ! -x ${EPREFIX}/usr/bin/xz ] && emerge -1 -O xz-utils
-#
+
+export CONFIG_SHELL="${EPREFIX}/bin/bash"
+[ ! -x ${EPREFIX}/usr/bin/xz ] && emerge -1 -O xz-utils
+unset CONFIG_SHELL
+
[ ! -x ${EPREFIX}/usr/bin/flex ] && emerge -1 -O flex
[ ! -x ${EPREFIX}/usr/bin/bison ] && emerge -1 -O bison
[ ! -x ${EPREFIX}/usr/bin/binutils-config ] && emerge -1 -O binutils-config