1 |
commit: 8b462df9b928414beb7271fce8e52fb5bd9d5a08 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 17 23:46:40 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 00:00:05 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b462df9 |
7 |
|
8 |
sys-block/open-iscsi: fix mishandling of MY_PV |
9 |
|
10 |
The code to set up MY_PV was based on MY_PV which mean successive env |
11 |
loads would generate an incorrect value. Drop the loading of it (as |
12 |
the default PV is what we want) and rename the var to MY_P as that is |
13 |
what it actually represents. |
14 |
|
15 |
sys-block/open-iscsi/open-iscsi-2.0.873.ebuild | 6 +++--- |
16 |
1 file changed, 3 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild |
19 |
index 43baf52..e3e161b 100644 |
20 |
--- a/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild |
21 |
+++ b/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild |
22 |
@@ -6,11 +6,11 @@ EAPI=5 |
23 |
|
24 |
inherit versionator linux-info eutils flag-o-matic toolchain-funcs |
25 |
|
26 |
-MY_PV="${PN}-$(replace_version_separator 2 "-" $MY_PV)" |
27 |
+MY_P="${PN}-$(replace_version_separator 2 "-")" |
28 |
|
29 |
DESCRIPTION="Open-iSCSI is a high performance, transport independent, multi-platform implementation of RFC3720" |
30 |
HOMEPAGE="http://www.open-iscsi.org/" |
31 |
-SRC_URI="http://www.open-iscsi.org/bits/${MY_PV}.tar.gz" |
32 |
+SRC_URI="http://www.open-iscsi.org/bits/${MY_P}.tar.gz" |
33 |
|
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
@@ -22,7 +22,7 @@ RDEPEND="${DEPEND} |
37 |
sys-fs/lsscsi |
38 |
sys-apps/util-linux" |
39 |
|
40 |
-S="${WORKDIR}/${MY_PV}" |
41 |
+S="${WORKDIR}/${MY_P}" |
42 |
|
43 |
pkg_setup() { |
44 |
linux-info_pkg_setup |