summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2005-07-25 13:04:04 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2005-07-25 13:04:04 +0000
commitcd76b3dd13c5aea56aec94268ae97f4e19ab65c1 (patch)
tree780b507902c8c73731d1b776f00c79c910b297eb /media-gfx/opendx
parentlibwpd version bump (diff)
downloadgentoo-2-cd76b3dd13c5aea56aec94268ae97f4e19ab65c1.tar.gz
gentoo-2-cd76b3dd13c5aea56aec94268ae97f4e19ab65c1.tar.bz2
gentoo-2-cd76b3dd13c5aea56aec94268ae97f4e19ab65c1.zip
Update to use linux-info.eclass and to check for SMP properly.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-gfx/opendx')
-rw-r--r--media-gfx/opendx/ChangeLog6
-rw-r--r--media-gfx/opendx/opendx-4.3.2-r1.ebuild16
2 files changed, 8 insertions, 14 deletions
diff --git a/media-gfx/opendx/ChangeLog b/media-gfx/opendx/ChangeLog
index 212daea5f559..4cc8a5568891 100644
--- a/media-gfx/opendx/ChangeLog
+++ b/media-gfx/opendx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/opendx
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/opendx/ChangeLog,v 1.12 2005/05/24 23:01:41 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/opendx/ChangeLog,v 1.13 2005/07/25 13:04:04 spyderous Exp $
+
+ 25 Jul 2005; Donnie Berkholz <spyderous@gentoo.org>;
+ opendx-4.3.2-r1.ebuild:
+ Update to use linux-info.eclass and to check for SMP properly.
24 May 2005; Donnie Berkholz <spyderous@gentoo.org>;
opendx-4.3.2-r1.ebuild:
diff --git a/media-gfx/opendx/opendx-4.3.2-r1.ebuild b/media-gfx/opendx/opendx-4.3.2-r1.ebuild
index 03e712b88e75..d65164392bfe 100644
--- a/media-gfx/opendx/opendx-4.3.2-r1.ebuild
+++ b/media-gfx/opendx/opendx-4.3.2-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/opendx/opendx-4.3.2-r1.ebuild,v 1.6 2005/05/24 23:01:41 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/opendx/opendx-4.3.2-r1.ebuild,v 1.7 2005/07/25 13:04:04 spyderous Exp $
# Set SMP="no" to force disable of SMP compilation.
# Set SMP="yes" to force enable of SMP compilation.
# Otherwise it will be autodetected from /usr/src/linux.
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic linux-info
DESCRIPTION="A 3D data visualization tool"
HOMEPAGE="http://www.opendx.org/"
@@ -48,17 +48,7 @@ smp() {
}
smp_check() {
- if [ -e /usr/src/linux/.config ]
- then
- if [ "`grep SMP /usr/src/linux/.config | cut -d= -f2`" = "y" ]
- then
- return 0
- else
- return 1
- fi
- else
- die "SMP check failed. Make sure /usr/src/linux/.config exists."
- fi
+ linux_chkconfig_present SMP
}
src_compile() {