commit:     cabdeb1b7dd5d0aa1249677843da0d94231b3370
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 13 04:51:43 2017 +0000
Commit:     NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Mon Mar 13 04:52:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabdeb1b

app-emulation/wine: Fix SRC_URI for >=2.1, thanks to wraeth

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/wine/wine-2.1.ebuild  | 4 ++--
 app-emulation/wine/wine-2.2.ebuild  | 4 ++--
 app-emulation/wine/wine-9999.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-emulation/wine/wine-2.1.ebuild 
b/app-emulation/wine/wine-2.1.ebuild
index 261ba4f7063..c853f295681 100644
--- a/app-emulation/wine/wine-2.1.ebuild
+++ b/app-emulation/wine/wine-2.1.ebuild
@@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
-       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz";
+       MAJOR_V=$(get_version_component_range 1)
+       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi
 

diff --git a/app-emulation/wine/wine-2.2.ebuild 
b/app-emulation/wine/wine-2.2.ebuild
index 261ba4f7063..c853f295681 100644
--- a/app-emulation/wine/wine-2.2.ebuild
+++ b/app-emulation/wine/wine-2.2.ebuild
@@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
-       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz";
+       MAJOR_V=$(get_version_component_range 1)
+       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi
 

diff --git a/app-emulation/wine/wine-9999.ebuild 
b/app-emulation/wine/wine-9999.ebuild
index 261ba4f7063..c853f295681 100644
--- a/app-emulation/wine/wine-9999.ebuild
+++ b/app-emulation/wine/wine-9999.ebuild
@@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
-       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz";
+       MAJOR_V=$(get_version_component_range 1)
+       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi
 

Reply via email to