mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 18:02:02 +01:00
dev-build/make: Sync with Gentoo
It's from Gentoo commit 12ce12eed8b679d9f1bddba5e29fff7664667b74. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
c26987b1d7
commit
5b65ab47ac
@ -10,7 +10,6 @@ inherit flag-o-matic unpacker verify-sig guile-single
|
|||||||
DESCRIPTION="Standard tool to compile source trees"
|
DESCRIPTION="Standard tool to compile source trees"
|
||||||
HOMEPAGE="https://www.gnu.org/software/make/make.html"
|
HOMEPAGE="https://www.gnu.org/software/make/make.html"
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git"
|
|
||||||
inherit autotools git-r3
|
inherit autotools git-r3
|
||||||
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||||
SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.lz"
|
SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.lz"
|
||||||
@ -50,6 +49,15 @@ PATCHES=(
|
|||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
|
EGIT_REPO_URI=("https://git.savannah.gnu.org/git/make.git")
|
||||||
|
git-r3_src_unpack
|
||||||
|
|
||||||
|
EGIT_REPO_URI=(
|
||||||
|
"https://github.com/coreutils/gnulib/"
|
||||||
|
"https://git.savannah.gnu.org/git/gnulib.git"
|
||||||
|
)
|
||||||
|
EGIT_BRANCH=$(. "${S}/bootstrap.conf" && echo "${GNULIB_REVISION}" || die)
|
||||||
|
EGIT_CHECKOUT_DIR=${S}/gnulib
|
||||||
git-r3_src_unpack
|
git-r3_src_unpack
|
||||||
|
|
||||||
cd "${S}" || die
|
cd "${S}" || die
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user