dev-util/build: Replace SLOT in SRC_URI
authorDavid Seifert <soap@gentoo.org>
Sun, 16 Oct 2016 10:48:38 +0000 (12:48 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 16 Oct 2016 10:48:38 +0000 (12:48 +0200)
Package-Manager: portage-2.3.2

dev-util/build/build-0.3.9-r1.ebuild

index fb5870c6a2f64fb6924cf1d44e4b20298fbefb83..f2c439e40acfe2713e666f358cf21f9459dfb2b0 100644 (file)
@@ -9,7 +9,7 @@ inherit versionator
 DESCRIPTION="A massively-parallel software build system implemented on top of GNU make"
 HOMEPAGE="http://kolpackov.net/projects/build/"
 SLOT="0"
-SRC_URI="http://www.codesynthesis.com/download/${PN}/${SLOT}/${P}.tar.bz2"
+SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
 LICENSE="GPL-2"
 KEYWORDS="amd64 ~arm ppc ppc64 x86"
 IUSE="examples"