summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2009-10-22 12:30:47 +0000
committerMike Auty <ikelos@gentoo.org>2009-10-22 12:30:47 +0000
commit76739b2ddda3a9530e8964d9490e29ee5fab1b65 (patch)
tree84c2108259e248e18714d0bb7df73e35dcf0c4cc /x11-drivers/linuxwacom
parentRemove test dependencies from RDEPEND (diff)
downloadgentoo-2-76739b2ddda3a9530e8964d9490e29ee5fab1b65.tar.gz
gentoo-2-76739b2ddda3a9530e8964d9490e29ee5fab1b65.tar.bz2
gentoo-2-76739b2ddda3a9530e8964d9490e29ee5fab1b65.zip
Re-fix bug 268378.
(Portage version: 2.2_rc46/cvs/Linux i686)
Diffstat (limited to 'x11-drivers/linuxwacom')
-rw-r--r--x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild10
-rw-r--r--x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild10
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild
index cb9d2befe44a..54220b9b96b9 100644
--- a/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild
+++ b/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild,v 1.1 2009/07/28 15:50:06 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p6.ebuild,v 1.2 2009/10/22 12:30:47 ikelos Exp $
inherit eutils autotools toolchain-funcs linux-mod
@@ -55,10 +55,12 @@ wacom_check() {
}
pkg_setup() {
- linux-mod_pkg_setup
- # echo "kernel version is ${KV} , name is ${KV%%-*}"
+ if use module; then
+ linux-mod_pkg_setup
+ wacom_check
+ # echo "kernel version is ${KV} , name is ${KV%%-*}"
+ fi
ewarn "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile."
- wacom_check
}
src_unpack() {
diff --git a/x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild
index cbf3266b6e05..8a96a8dda71f 100644
--- a/x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild
+++ b/x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild,v 1.3 2009/10/05 12:31:11 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.4_p1.ebuild,v 1.4 2009/10/22 12:30:47 ikelos Exp $
inherit eutils autotools toolchain-funcs linux-mod
@@ -55,10 +55,12 @@ wacom_check() {
}
pkg_setup() {
- linux-mod_pkg_setup
- # echo "kernel version is ${KV} , name is ${KV%%-*}"
+ if use modules; then
+ linux-mod_pkg_setup
+ wacom_check
+ # echo "kernel version is ${KV} , name is ${KV%%-*}"
+ fi
ewarn "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile."
- wacom_check
}
src_unpack() {