From ad7db2496ecaf92e019da91c450dd7c919261d73 Mon Sep 17 00:00:00 2001 From: Michael Imhof Date: Sun, 13 Oct 2002 21:39:19 +0000 Subject: [PATCH] changed dependencies --- sys-apps/mosix-user/mosix-user-1.8.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sys-apps/mosix-user/mosix-user-1.8.0.ebuild b/sys-apps/mosix-user/mosix-user-1.8.0.ebuild index 43f7c7413913..ae53ccf32ede 100644 --- a/sys-apps/mosix-user/mosix-user-1.8.0.ebuild +++ b/sys-apps/mosix-user/mosix-user-1.8.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/mosix-user-1.8.0.ebuild,v 1.1 2002/10/13 21:35:15 tantive Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/mosix-user-1.8.0.ebuild,v 1.2 2002/10/13 21:39:19 tantive Exp $ S=${WORKDIR}/user DESCRIPTION="User-land utilities for MOSIX process migration (clustering) software" @@ -11,6 +11,16 @@ SLOT="0" LICENSE="as-is" DEPEND=">=sys-libs/ncurses-5.2" +pkg_setup() { + if [ -z "`readlink /usr/src/linux|grep mosix`" ]; then + eerror + eerror "Your linux kernel sources do not appear to be mosix," + eerror "please check your /usr/src/linux symlink." + eerror + die + fi +} + src_unpack() { mkdir ${S}; cd ${S} tar -xz --no-same-owner -f ${DISTDIR}/${A} MOSIX-${PV}/user.tar MOSIX-${PV}/manuals.tar -- 2.26.2