diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-23 05:19:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-23 05:19:32 +0000 |
commit | 58794a0a78a9a0fd6d89c684511e34dd7d9291d1 (patch) | |
tree | 95de62ed1985888fb9619461b1b8766985ab79bd /scripts/bootstrap.sh | |
parent | fix the README patch when USE=-acl #75282 (Manifest recommit) (diff) | |
download | gentoo-2-58794a0a78a9a0fd6d89c684511e34dd7d9291d1.tar.gz gentoo-2-58794a0a78a9a0fd6d89c684511e34dd7d9291d1.tar.bz2 gentoo-2-58794a0a78a9a0fd6d89c684511e34dd7d9291d1.zip |
if USE=nptl, try to merge 2.6 headers for the user #61198
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-x | scripts/bootstrap.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 6dc0934bbf2d..0a6948edba5e 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.64 2004/11/27 21:26:17 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.65 2004/12/23 05:19:32 vapier Exp $ # people who were here: # (drobbins, 06 Jun 2003) @@ -160,13 +160,17 @@ for opt in ${ORIGUSE} ; do case "${opt}" in nls) myGETTEXT="gettext";; nptl) - if [ -z "`portageq best_visible / '>=sys-kernel/linux26-headers-2.6.0'`" ]; then + if [[ -z $(portageq best_visible / '>=sys-kernel/linux26-headers-2.6.0') ]] ; then eerror "You need to have >=sys-kernel/linux26-headers-2.6.0 unmasked!" eerror "Please edit the latest >=sys-kernel/linux26-headers-2.6.0 package," eerror "and add your ARCH to KEYWORDS." echo cleanup 1 fi + if [[ -n $(portageq best_version / sys-kernel/linux-headers) ]] ; then + emerge -C sys-kernel/linux-headers + emerge --nodeps --oneshot sys-kernel/linux26-headers + fi USE_NPTL=1 ;; esac |