mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-20 11:51:06 +02: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"
|
||||
HOMEPAGE="https://www.gnu.org/software/make/make.html"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git"
|
||||
inherit autotools git-r3
|
||||
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||
SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.lz"
|
||||
@ -50,6 +49,15 @@ PATCHES=(
|
||||
|
||||
src_unpack() {
|
||||
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
|
||||
|
||||
cd "${S}" || die
|
||||
|
Loading…
x
Reference in New Issue
Block a user