summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-23 05:19:32 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-23 05:19:32 +0000
commitf0d2b1bcf11839f94dc0d6b454c3e82255c2cc41 (patch)
treee344733fb0373a18981ec59ce74923dac1690799 /scripts
parentfix the README patch when USE=-acl #75282 (diff)
downloadhistorical-f0d2b1bcf11839f94dc0d6b454c3e82255c2cc41.tar.gz
historical-f0d2b1bcf11839f94dc0d6b454c3e82255c2cc41.tar.bz2
historical-f0d2b1bcf11839f94dc0d6b454c3e82255c2cc41.zip
if USE=nptl, try to merge 2.6 headers for the user #61198
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh8
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