From 83cb7017a272bbb9358beb7d08c2519e2dba533b Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 21 Sep 2022 00:25:17 +0100 Subject: sys-devel/make: add 4.3.90 (RC1, unkeyworded) Signed-off-by: Sam James --- sys-devel/make/Manifest | 2 ++ sys-devel/make/make-4.3.90.ebuild | 76 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 sys-devel/make/make-4.3.90.ebuild diff --git a/sys-devel/make/Manifest b/sys-devel/make/Manifest index f9cbb5a172f0..bb77625f205d 100644 --- a/sys-devel/make/Manifest +++ b/sys-devel/make/Manifest @@ -1,2 +1,4 @@ +DIST make-4.3.90.tar.gz 2235311 BLAKE2B 42717d885ae190b8abef2ec2431c061f4575c5818eff745fe445034813ce48f91134c2a54dce129d51ac45b7086a3ee65cb47d86ab98d2faf186947be3ec3455 SHA512 52151b4eeecfb5a94d4010eeb46b72a66eb3783a6ff1ab46fd6a1d1e9aeef14d62429414a3c5dec0d1f20cfad2ec82bf9c179dcfe5851f4353d7a2ff0498cb26 +DIST make-4.3.90.tar.gz.sig 566 BLAKE2B e72199bde5c4ba25f3f5a520c24d3c3f096c8295fd45184f6bbe35005fefe65c3e761db034224bcaffe255e4634739e87765b12ab0122bfe400f37e41fc25216 SHA512 60474c73e188591cecd4c63a108b72831a49d345f5dbc78271b80cd443c6271b0fabd95709e8c837eea2ad98f73119333d798fb6ac8a00e3d8d320d936bc5c6f DIST make-4.3.tar.gz 2317073 BLAKE2B 5a82ce1f30eb034366ac3b87d2ec6698aae17d7b1a611941cf42136b2453b34236ab55382eab0a593c43cee8b036ba4a054f966c41ba766fdbd2862942be5dff SHA512 9a1185cc468368f4ec06478b1cfa343bf90b5cd7c92c0536567db0315b0ee909af53ecce3d44cfd93dd137dbca1ed13af5713e8663590c4fdd21ea635d78496b DIST make-4.3.tar.gz.sig 566 BLAKE2B 75bf71602e60f97ec8efa81676329047746d960257ef310b89a059144c00628b6a1ddf7a16a2ac2c3e935b8591475f5043a7c7546668ab39abbc4717c75a6528 SHA512 bf13e2943593b153457c8111179e8ae11cef2d9185a986106a1e70946a260bd930505a5e10002c5a60888e11affc07713c367b8680fd511ad87b2e124d303a99 diff --git a/sys-devel/make/make-4.3.90.ebuild b/sys-devel/make/make-4.3.90.ebuild new file mode 100644 index 000000000000..73a2aedb6375 --- /dev/null +++ b/sys-devel/make/make-4.3.90.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git" + inherit autotools git-r3 +elif [[ $(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" + 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 ) + verify-sig? ( sec-keys/openpgp-keys-make )" +RDEPEND="${DEPEND} + nls? ( virtual/libintl )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.82-darwin-library_search-dylib.patch + "${FILESDIR}"/${PN}-4.2-default-cxx.patch +) + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + + cd "${S}" || die + ./bootstrap || die + else + default + fi +} + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + eautoreconf + fi +} + +src_configure() { + use static && append-ldflags -static + local myeconfargs=( + --program-prefix=g + $(use_with guile) + $(use_enable nls) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS NEWS README* + if [[ ${USERLAND} == "GNU" ]] ; then + # we install everywhere as 'gmake' but on GNU systems, + # symlink 'make' to 'gmake' + dosym gmake /usr/bin/make + dosym gmake.1 /usr/share/man/man1/make.1 + fi +} -- cgit v1.2.3-65-gdbad