mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
sys-devel/make: Sync with Gentoo
It's from Gentoo commit 2f57d1e86732ff5160de52e92584363cc0e256cb.
This commit is contained in:
parent
3ef6d66fa4
commit
ec6e5ae93b
@ -1 +1,2 @@
|
||||
DIST make-4.3.tar.gz 2317073 BLAKE2B 5a82ce1f30eb034366ac3b87d2ec6698aae17d7b1a611941cf42136b2453b34236ab55382eab0a593c43cee8b036ba4a054f966c41ba766fdbd2862942be5dff SHA512 9a1185cc468368f4ec06478b1cfa343bf90b5cd7c92c0536567db0315b0ee909af53ecce3d44cfd93dd137dbca1ed13af5713e8663590c4fdd21ea635d78496b
|
||||
DIST make-4.3.tar.gz.sig 566 BLAKE2B 75bf71602e60f97ec8efa81676329047746d960257ef310b89a059144c00628b6a1ddf7a16a2ac2c3e935b8591475f5043a7c7546668ab39abbc4717c75a6528 SHA512 bf13e2943593b153457c8111179e8ae11cef2d9185a986106a1e70946a260bd930505a5e10002c5a60888e11affc07713c367b8680fd511ad87b2e124d303a99
|
||||
|
@ -1,8 +1,8 @@
|
||||
Fixed default libpatttern on Darwin, imported from prefix overlay.
|
||||
Got merged upstream:
|
||||
https://savannah.gnu.org/bugs/?37197
|
||||
--- a/default.c
|
||||
+++ b/default.c
|
||||
--- a/src/default.c
|
||||
+++ b/src/default.c
|
||||
@@ -509,7 +509,11 @@
|
||||
#ifdef __MSDOS__
|
||||
".LIBPATTERNS", "lib%.a $(DJDIR)/lib/lib%.a",
|
||||
|
@ -1,7 +1,5 @@
|
||||
diff --git a/default.c b/default.c
|
||||
index 3d865c7..e8b3ed6 100644
|
||||
--- a/default.c
|
||||
+++ b/default.c
|
||||
--- a/src/default.c
|
||||
+++ b/src/default.c
|
||||
@@ -530,7 +530,7 @@ static const char *default_variables[] =
|
||||
"OBJC", "gcc",
|
||||
#else
|
||||
|
@ -1,24 +1,29 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/make.asc
|
||||
inherit flag-o-matic verify-sig
|
||||
|
||||
DESCRIPTION="Standard tool to compile source trees"
|
||||
HOMEPAGE="https://www.gnu.org/software/make/make.html"
|
||||
if [[ "$(ver_cut 3)" -ge 90 ]] ; then
|
||||
SRC_URI="https://alpha.gnu.org/gnu//make/${P}.tar.gz"
|
||||
SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu//make/${P}.tar.gz.sig )"
|
||||
else
|
||||
SRC_URI="mirror://gnu//make/${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnu//make/${P}.tar.gz.sig )"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="guile nls static"
|
||||
|
||||
DEPEND="guile? ( >=dev-scheme/guile-1.8:= )"
|
||||
BDEPEND="nls? ( sys-devel/gettext )"
|
||||
BDEPEND="nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-make )"
|
||||
RDEPEND="${DEPEND}
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
@ -27,12 +32,6 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.2-default-cxx.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# sources were moved into src directory
|
||||
cd src || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
local myeconfargs=(
|
||||
|
Loading…
x
Reference in New Issue
Block a user