summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2008-11-16 01:24:38 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2008-11-16 01:24:38 +0000
commit49d8696e38449ec026c219fbb8f685550ee591e4 (patch)
treef3039d9a1d5425580123f27092f8260b24f22089 /sys-fs/vhba
parentRemove clean target from BUILD_TARGETS for bug 233910, preventing a (diff)
downloadhistorical-49d8696e38449ec026c219fbb8f685550ee591e4.tar.gz
historical-49d8696e38449ec026c219fbb8f685550ee591e4.tar.bz2
historical-49d8696e38449ec026c219fbb8f685550ee591e4.zip
Build against sources in /usr/src/linux instead of /lib/modules/uname -r
for bug 241952. Thanks to Diego Petteno <flameeyes at gentoo dot org>. Package-Manager: portage-2.1.4.5
Diffstat (limited to 'sys-fs/vhba')
-rw-r--r--sys-fs/vhba/ChangeLog6
-rw-r--r--sys-fs/vhba/Manifest10
-rw-r--r--sys-fs/vhba/vhba-1.1.0.ebuild9
3 files changed, 18 insertions, 7 deletions
diff --git a/sys-fs/vhba/ChangeLog b/sys-fs/vhba/ChangeLog
index db426088074f..caa5cedd7ce9 100644
--- a/sys-fs/vhba/ChangeLog
+++ b/sys-fs/vhba/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/vhba
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.8 2008/11/16 01:06:24 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.9 2008/11/16 01:24:38 vanquirius Exp $
+
+ 16 Nov 2008; Marcelo Goes <vanquirius@gentoo.org> vhba-1.1.0.ebuild:
+ Build against sources in /usr/src/linux instead of /lib/modules/uname -r for
+ bug 241952. Thanks to Diego Petteno <flameeyes at gentoo dot org>.
16 Nov 2008; Marcelo Goes <vanquirius@gentoo.org> vhba-1.1.0.ebuild:
Remove clean target from BUILD_TARGETS for bug 233910, preventing a compile
diff --git a/sys-fs/vhba/Manifest b/sys-fs/vhba/Manifest
index 3301f8502653..212145cfad8a 100644
--- a/sys-fs/vhba/Manifest
+++ b/sys-fs/vhba/Manifest
@@ -7,13 +7,13 @@ AUX vhba-1.0.0-scsicmnd.patch 2736 RMD160 503eb663d33fa082eceab87d2521b9d2dab469
DIST vhba-module-1.0.0.tar.bz2 5210 RMD160 862d4f3f33589a4546c6bb6eff8eb17c4a86edcf SHA1 978411599ab252b5a0305f73026150ab9269b1b4 SHA256 4a728b0d3d61841ac94007748799e37f48379ee8687eb3181040418d2021f5cc
DIST vhba-module-1.1.0.tar.bz2 13667 RMD160 c68bc151f7889978c65d9e221da2a37954b5b55f SHA1 bb8701d99c1a1166e0ac2ace013b60a7666674d3 SHA256 e22b5d85c8cf47deeee09724cfadb25c5966947350c6e761c4b306eff83f8b2c
EBUILD vhba-1.0.0.ebuild 2051 RMD160 37f0ea1955dbe9b616e3abec015f152bb63c9fab SHA1 29b7d3c208e13745eba04ad6d3193ecf36587905 SHA256 218e97a2028a0f15cc04d165a42cd86157533204811509d557c8ef55acdefefd
-EBUILD vhba-1.1.0.ebuild 1526 RMD160 74ebcb25d6475f52781c1043ca6f0ef572536940 SHA1 345a8e69c9ac60fa2874aacc7302aa8ea64a60b8 SHA256 7a258ad47cf0e02da5152f1c9381a40340050479b9a4b714cee7831633ce2e14
-MISC ChangeLog 2300 RMD160 2a053500266b551a2340f7cbe42fde71439b648f SHA1 b324f563974ea90ad296986d03fe54bd4d35ae98 SHA256 a7dc8a9dc23732551800c2c56620860a37a66b3e48be1bd0f9a11f2dbf2cd9ec
+EBUILD vhba-1.1.0.ebuild 1668 RMD160 8561bcd06448ed46300c9fdfe1d34a9684bdfff8 SHA1 2f992e266826db33968f33462a427227aea4a7bc SHA256 56d47a4a30b4974e493175b4cbc69eecb515f8e6611f30aa7092fc94421f714d
+MISC ChangeLog 2520 RMD160 e0ab181717f2c82bf13c5118c62c76b3446a1259 SHA1 64b89b4f531b761bacf6a781dde36eeba88727ea SHA256 c927ec5f2034f8e36258db77e536b5213455ceba017e9c0a1814268bddd429eb
MISC metadata.xml 225 RMD160 461e7786d6f2b4ad0796cdbd8da127d2aa1d9c88 SHA1 7e14b4551dd441a467b812e3b4c4f3fd795e5a58 SHA256 1c4c96d3ac062761d9e938c233751ff32b23e2c21aff1e38df6a37ffa0e97cb1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkkfchIACgkQrV3T0ZYD7E5dzQCeOzI3ju66uOg2dBSduQOBB2T/
-EZ8An2XHmHbG3/ApEYT464xEIu93gGHi
-=8AWd
+iEYEARECAAYFAkkfdl4ACgkQrV3T0ZYD7E7NfACggQCQCOPuhVfPnUjysxbYS/8N
+ayUAn2wmUUffdXLyTr1bhPZ9PMj9DQyR
+=qbuK
-----END PGP SIGNATURE-----
diff --git a/sys-fs/vhba/vhba-1.1.0.ebuild b/sys-fs/vhba/vhba-1.1.0.ebuild
index 924ae03f0024..c5eeacddfb92 100644
--- a/sys-fs/vhba/vhba-1.1.0.ebuild
+++ b/sys-fs/vhba/vhba-1.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-1.1.0.ebuild,v 1.2 2008/11/16 01:06:24 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-1.1.0.ebuild,v 1.3 2008/11/16 01:24:38 vanquirius Exp $
inherit linux-info linux-mod eutils
@@ -27,6 +27,13 @@ pkg_setup() {
linux-mod_pkg_setup
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:/lib/modules/\$(KERNELRELEASE)/build:${KERNEL_DIR}:g" \
+ Makefile || die "sed failed"
+}
+
src_compile() {
linux-mod_src_compile || die "Error: building module failed!"
}