summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-10 03:57:57 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-10 03:57:57 +0000
commit202bc65dc21fde5d091fc0ad251496867dc2c2d3 (patch)
tree29b6028ce396ddbc3db99d9ce5e098c94b37d47d /sys-fs
parentStable on SPARC wrt bug #111573. (diff)
downloadgentoo-2-202bc65dc21fde5d091fc0ad251496867dc2c2d3.tar.gz
gentoo-2-202bc65dc21fde5d091fc0ad251496867dc2c2d3.tar.bz2
gentoo-2-202bc65dc21fde5d091fc0ad251496867dc2c2d3.zip
move exporting of vars to src_compile() to work around portage env bug and add a check to make sure $USERLAND is setup properly
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild
index 30516d3b1811..79e6fdb931e7 100644
--- a/sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild,v 1.14 2005/09/08 17:09:21 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e2fsprogs/e2fsprogs-1.38.ebuild,v 1.15 2005/11/10 03:57:57 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -49,13 +49,20 @@ src_unpack() {
ln -s "${ROOT}"/usr/include/ss/ss_err.h lib/ss/
ln -s "${ROOT}"/$(get_libdir)/libss.so lib/libss.so
+ # sanity check for Bug 105304
+ if [[ -z ${USERLAND} ]] ; then
+ eerror "You just hit Bug 105304, please post your 'emerge info' here:"
+ eerror "http://bugs.gentoo.org/105304"
+ die "Aborting to prevent screwing your system"
+ fi
+}
+
+src_compile() {
# Keep the package from doing silly things
export LDCONFIG=/bin/true
export CC=$(tc-getCC)
export STRIP=/bin/true
-}
-src_compile() {
econf \
--bindir=/bin \
--sbindir=/sbin \