public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/
Date: Mon, 27 Mar 2023 20:40:16 +0000 (UTC)	[thread overview]
Message-ID: <1679948832.8a1b8b22c71b9c3ce843bd0dc768bc71fec30806.arsen@gentoo> (raw)

commit:     8a1b8b22c71b9c3ce843bd0dc768bc71fec30806
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 08:46:51 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 20:27:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1b8b22

sys-devel/autoconf: Add revisions without Info path breaking

Closes: https://bugs.gentoo.org/902461
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-devel/autoconf/autoconf-2.13-r8.ebuild         | 59 ++++++++++++++++++++
 sys-devel/autoconf/autoconf-2.69-r9.ebuild         | 63 ++++++++++++++++++++++
 ...toconf-2.72c.ebuild => autoconf-2.71-r6.ebuild} | 36 +++++++------
 ...oconf-2.72c.ebuild => autoconf-2.72c-r1.ebuild} |  0
 4 files changed, 142 insertions(+), 16 deletions(-)

diff --git a/sys-devel/autoconf/autoconf-2.13-r8.ebuild b/sys-devel/autoconf/autoconf-2.13-r8.ebuild
new file mode 100644
index 000000000000..69156d4abf78
--- /dev/null
+++ b/sys-devel/autoconf/autoconf-2.13-r8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-autoconf
+
+DESCRIPTION="Used to create autoconfiguration files"
+HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="${PV:0:3}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	dev-lang/perl
+	sys-devel/m4
+	test? ( dev-util/dejagnu )
+"
+RDEPEND="
+	${BDEPEND}
+	sys-apps/texinfo
+	>=sys-devel/autoconf-wrapper-13
+"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-gentoo.patch
+	"${FILESDIR}"/${P}-destdir.patch
+	"${FILESDIR}"/${P}-test-fixes.patch #146592
+	"${FILESDIR}"/${P}-perl-5.26.patch
+	"${FILESDIR}"/${P}-K-R-decls-clang.patch
+	"${FILESDIR}"/${P}-Clang-16-fixes-for-various-tests.patch
+)
+
+src_configure() {
+	# make sure configure is newer than configure.in
+	touch configure || die
+
+	# need to include --exec-prefix and --bindir or our
+	# DESTDIR patch will trigger sandbox hate :(
+	#
+	# need to force locale to C to avoid bugs in the old
+	# configure script breaking the install paths #351982
+	#
+	# force to `awk` so that we don't encode another awk that
+	# happens to currently be installed, but might later be
+	# uninstalled (like mawk).  same for m4.
+	ac_cv_path_M4="m4" \
+	ac_cv_prog_AWK="awk" \
+	LC_ALL=C \
+	econf \
+		--exec-prefix="${EPREFIX}"/usr \
+		--bindir="${EPREFIX}"/usr/bin \
+		--program-suffix="-${PV}" \
+		--infodir="${TC_AUTOCONF_INFOPATH}"
+}

diff --git a/sys-devel/autoconf/autoconf-2.69-r9.ebuild b/sys-devel/autoconf/autoconf-2.69-r9.ebuild
new file mode 100644
index 000000000000..45c66d96f77c
--- /dev/null
+++ b/sys-devel/autoconf/autoconf-2.69-r9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
+	inherit git-r3
+else
+	SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+		ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz
+		https://dev.gentoo.org/~polynomial-c/dist/${P}-runstatedir_patches.tar.xz"
+	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"
+fi
+
+inherit toolchain-autoconf
+
+DESCRIPTION="Used to create autoconfiguration files"
+HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
+
+LICENSE="GPL-3+"
+SLOT="${PV}"
+IUSE="emacs"
+
+BDEPEND="
+	>=sys-devel/m4-1.4.16
+	>=dev-lang/perl-5.6
+"
+RDEPEND="
+	${BDEPEND}
+	>=sys-devel/autoconf-wrapper-13
+	!~sys-devel/${P}:2.5
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
+
+PDEPEND="emacs? ( app-emacs/autoconf-mode )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
+	"${FILESDIR}"/${P}-fix-libtool-test.patch
+	"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
+	"${FILESDIR}"/${P}-make-tests-bash5-compatible.patch
+	"${FILESDIR}"/${P}-K-R-decls-clang.patch
+
+	"${WORKDIR}"/patches/${P}-texinfo.patch
+)
+
+src_prepare() {
+	# usr/bin/libtool is provided by binutils-apple, need gnu libtool
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
+	fi
+
+	# Save timestamp to avoid later makeinfo call
+	touch -r doc/{,old_}autoconf.texi || die
+
+	toolchain-autoconf_src_prepare
+
+	# Restore timestamp to avoid makeinfo call
+	# We already have an up to date autoconf.info page at this point.
+	touch -r doc/{old_,}autoconf.texi || die
+}

diff --git a/sys-devel/autoconf/autoconf-2.72c.ebuild b/sys-devel/autoconf/autoconf-2.71-r6.ebuild
similarity index 71%
copy from sys-devel/autoconf/autoconf-2.72c.ebuild
copy to sys-devel/autoconf/autoconf-2.71-r6.ebuild
index 1bd34bcdca1a..af4176383c24 100644
--- a/sys-devel/autoconf/autoconf-2.72c.ebuild
+++ b/sys-devel/autoconf/autoconf-2.71-r6.ebuild
@@ -11,17 +11,14 @@ else
 	MY_PV="${PV}"
 	MY_P="${PN}-${MY_PV}"
 	#PATCH_TARBALL_NAME="${PN}-2.70-patches-01"
+	SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
+		https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz"
+	#SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${PATCH_TARBALL_NAME}.tar.xz"
 
-	SRC_URI="
-		mirror://gnu/${PN}/${MY_P}.tar.xz
-		https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz
-		https://meyering.net/ac/${P}.tar.xz
-	"
-	 S="${WORKDIR}"/${MY_P}
-
-	if [[ ${PV} != *_beta* ]] && ! [[ $(ver_cut 3) =~ [a-z] ]] ; then
+	if ! [[ ${PV} == *_beta* ]] ; then
 		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
+	S="${WORKDIR}"/${MY_P}
 fi
 
 inherit toolchain-autoconf
@@ -33,19 +30,26 @@ LICENSE="GPL-3+"
 SLOT="${PV/_*}"
 IUSE="emacs"
 
-BDEPEND="
-	>=dev-lang/perl-5.10
-	>=sys-devel/m4-1.4.16
-"
-RDEPEND="
-	${BDEPEND}
+# for 2.71, our Perl time resolution patch changes our min Perl from 5.6
+# (vanilla upstream for 2.71) to 5.8.
+BDEPEND=">=sys-devel/m4-1.4.16
+	>=dev-lang/perl-5.8"
+RDEPEND="${BDEPEND}
 	>=sys-devel/autoconf-wrapper-15
 	sys-devel/gnuconfig
-	!~sys-devel/${P}:2.5
-"
+	!~sys-devel/${P}:2.5"
 [[ ${PV} == 9999 ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
 PDEPEND="emacs? ( app-emacs/autoconf-mode )"
 
+PATCHES=(
+	"${FILESDIR}"/${P}-AC_LANG_CALL_C_cxx.patch
+	"${FILESDIR}"/${P}-time.patch
+	"${FILESDIR}"/${P}-AC_C_BIGENDIAN-lto.patch
+	"${FILESDIR}"/${P}-K-R-decls-clang.patch
+	"${FILESDIR}"/${P}-make-4.4.patch
+	"${FILESDIR}"/${P}-K-R-decls-clang-deux.patch
+)
+
 src_prepare() {
 	# usr/bin/libtool is provided by binutils-apple, need gnu libtool
 	if [[ ${CHOST} == *-darwin* ]] ; then

diff --git a/sys-devel/autoconf/autoconf-2.72c.ebuild b/sys-devel/autoconf/autoconf-2.72c-r1.ebuild
similarity index 100%
rename from sys-devel/autoconf/autoconf-2.72c.ebuild
rename to sys-devel/autoconf/autoconf-2.72c-r1.ebuild


             reply	other threads:[~2023-03-27 20:40 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 20:40 Arsen Arsenović [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-27 20:57 [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/ Sam James
2023-12-24 16:13 Sam James
2023-12-23 17:29 Sam James
2023-12-23 16:57 Sam James
2023-12-23 16:57 Sam James
2023-12-23 16:57 Sam James
2023-12-02  7:13 Sam James
2023-07-19 22:45 Sam James
2023-07-15  8:49 Arthur Zamarin
2023-07-02 16:09 Sam James
2023-06-17 19:44 Arthur Zamarin
2023-06-17 16:52 Sam James
2023-06-17 16:05 Arthur Zamarin
2023-06-17 14:39 Sam James
2023-06-17 10:42 Arthur Zamarin
2023-06-17 10:42 Arthur Zamarin
2023-06-17 10:42 Arthur Zamarin
2023-06-17  9:03 Arthur Zamarin
2023-06-17  8:29 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  6:12 Sam James
2023-03-28 15:15 Sam James
2023-03-27 20:40 Arsen Arsenović
2023-03-27 16:57 Sam James
2022-11-23  1:14 Sam James
2022-11-23  1:14 Sam James
2022-11-22  7:22 Arthur Zamarin
2022-11-22  6:12 Arthur Zamarin
2022-11-22  6:06 Arthur Zamarin
2022-11-22  6:06 Arthur Zamarin
2022-11-22  6:06 Arthur Zamarin
2022-11-22  6:06 Arthur Zamarin
2022-11-22  6:06 Arthur Zamarin
2022-11-22  6:06 Arthur Zamarin
2022-11-22  5:53 Arthur Zamarin
2022-11-22  5:25 Arthur Zamarin
2022-11-22  5:25 Arthur Zamarin
2022-11-22  5:15 Sam James
2022-11-22  4:54 Sam James
2022-11-22  4:54 Sam James
2022-11-22  4:37 Sam James
2022-11-22  4:37 Sam James
2022-11-22  4:37 Sam James
2022-11-22  4:37 Sam James
2022-11-22  4:16 Sam James
2022-11-22  4:16 Sam James
2022-11-22  4:16 Sam James
2022-11-22  4:16 Sam James
2022-10-28  7:01 Sam James
2022-10-18  2:18 Sam James
2022-09-23  2:09 Sam James
2022-09-19 16:31 Sam James
2022-08-18  0:15 Sam James
2022-07-30  9:40 Sam James
2022-06-19  8:09 David Seifert
2022-06-19  8:09 David Seifert
2022-05-25 16:02 WANG Xuerui
2022-04-15  5:48 Sam James
2022-01-06  9:07 David Seifert
2021-10-20  4:03 Sam James
2021-10-14  7:04 Sam James
2021-10-11 15:18 Sam James
2021-10-08  5:02 Sam James
2021-10-04  0:49 Sam James
2021-10-02 20:55 Sam James
2021-10-02 20:54 Sam James
2021-10-02  7:22 Sam James
2021-08-01 19:51 Sam James
2021-08-01 19:49 David Seifert
2021-08-01 17:59 Andreas K. Hüttel
2021-03-09 15:52 Lars Wendler
2021-03-09 15:52 Lars Wendler
2021-01-29  8:24 Lars Wendler
2021-01-29  8:14 Lars Wendler
2021-01-28 23:49 Lars Wendler
2021-01-06 15:32 Fabian Groffen
2021-01-04 19:08 Lars Wendler
2020-12-27 18:18 Fabian Groffen
2020-12-13  2:26 Sam James
2020-12-09 14:18 Lars Wendler
2020-12-09 14:18 Lars Wendler
2020-12-09 14:18 Lars Wendler
2020-12-09 14:18 Lars Wendler
2020-12-01 20:51 Lars Wendler
2020-11-03 18:34 Lars Wendler
2020-10-15 15:48 Lars Wendler
2020-09-02 19:31 Sam James
2020-09-01  0:03 Sam James
2020-08-29 23:58 Sam James
2020-08-29 22:41 Sam James
2020-08-29 22:15 Sam James
2020-08-29 14:48 Thomas Deutschmann
2020-08-27 18:22 Sergei Trofimovich
2019-11-28 10:26 Lars Wendler
2019-11-28 10:26 Lars Wendler
2019-05-04 17:28 Mikle Kolyada
2018-12-22 18:28 Andreas K. Hüttel
2018-05-13  9:47 Lars Wendler
2018-01-18  9:40 Lars Wendler
2018-01-18  9:40 Lars Wendler
2018-01-17 16:18 Lars Wendler
2018-01-14 13:17 Tobias Klausmann
2018-01-11 22:50 Mike Frysinger
2018-01-10  6:19 Markus Meier
2018-01-08 20:12 Sergei Trofimovich
2018-01-06 23:51 Sergei Trofimovich
2018-01-05  9:04 Lars Wendler
2018-01-04 22:11 Sergei Trofimovich
2018-01-04 11:34 Mikle Kolyada
2017-02-22 20:17 Ian Stakenvicius
2017-02-22 20:17 Ian Stakenvicius
2017-02-22 19:31 Mike Frysinger
2016-10-25  1:06 Benda XU
2016-03-10  8:30 Patrick Lauer
2016-03-09 18:28 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1679948832.8a1b8b22c71b9c3ce843bd0dc768bc71fec30806.arsen@gentoo \
    --to=arsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox