summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nelson <jnelson@gentoo.org>2002-05-08 05:53:41 +0000
committerJon Nelson <jnelson@gentoo.org>2002-05-08 05:53:41 +0000
commit8d01e52488f826c1127b9bf435f46be1087ff843 (patch)
tree0adbdaac89b2d0ceaa8e55790ebbb1363e0c9d94 /media-sound/alsa-driver
parentTweaked to check for check_KV (diff)
downloadgentoo-2-8d01e52488f826c1127b9bf435f46be1087ff843.tar.gz
gentoo-2-8d01e52488f826c1127b9bf435f46be1087ff843.tar.bz2
gentoo-2-8d01e52488f826c1127b9bf435f46be1087ff843.zip
use check_KV and depend on portage >=> 1.9.10
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r--media-sound/alsa-driver/ChangeLog7
-rw-r--r--media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild20
2 files changed, 13 insertions, 14 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog
index 857b4ca96429..1624d9d939fd 100644
--- a/media-sound/alsa-driver/ChangeLog
+++ b/media-sound/alsa-driver/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for media-sound/alsa-driver
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.8 2002/05/03 06:49:30 agenkin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.9 2002/05/08 05:53:41 jnelson Exp $
*alsa-driver-0.9.0_rc1 (27 Apr 2002)
+ 8 May 2002; Jon Nelson <jnelson@gentoo.org>
+ alsa-driver-0.9.0_rc1-r5.ebuild :
+
+ Use check_KV and depend on portage >= 1.9.10
+
3 May 2002; Arcady Genkin <agenkin@thpoon.com>
alsa-driver-0.9.0_rc1-r5.ebuild :
diff --git a/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild b/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild
index bee3e2884dfc..e095922ab737 100644
--- a/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild
+++ b/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild,v 1.1 2002/05/03 06:44:52 agenkin Exp $
+# Author: Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r5.ebuild,v 1.2 2002/05/08 05:53:41 jnelson Exp $
DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
HOMEPAGE="http://www.alsa-project.org/"
@@ -16,10 +16,11 @@ S=${WORKDIR}/${P/_rc/rc}
#virtual/glibc should depend on specific kernel headers
DEPEND="sys-devel/autoconf
- virtual/glibc"
+ virtual/glibc
+ >=sys-apps/portage-1.9.10"
+RDEPEND="${DEPEND}"
PROVIDE="virtual/alsa"
-
src_unpack() {
# Some *broken* Gentoo packages install stuff in /etc/rc.d/init.d
# instead of /etc/init.d. However, this causes alsa's installer
@@ -35,18 +36,11 @@ src_unpack() {
src_compile() {
# Portage should determine the version of the kernel sources
- if [ x"${KV}" = x ]
- then
- eerror ""
- eerror "Could not determine you kernel version."
- eerror "Make sure that you have /usr/src/linux symlink."
- eerror ""
- die
- fi
+ check_KV
./configure \
--host=${CHOST} \
--prefix=/usr \
- --with-kernel="${ROOT}usr/src/linux-${KV}" \
+ --with-kernel="${ROOT}usr/src/linux" \
--with-isapnp=yes \
--with-sequencer=yes \
--with-oss=yes \