public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/m4/
Date: Fri, 26 Mar 2021 17:58:36 +0000 (UTC)	[thread overview]
Message-ID: <1616781508.132dcde9f1a1cd1692b91fa5eabaadc8d03a3340.polynomial-c@gentoo> (raw)

commit:     132dcde9f1a1cd1692b91fa5eabaadc8d03a3340
Author:     David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 23 17:26:23 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 17:58:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132dcde9

sys-devel/m4: EAPI 7

Closes: https://bugs.gentoo.org/777897
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../{m4-1.4.18-r1.ebuild => m4-1.4.18-r2.ebuild}   | 31 +++++++++++-----------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/sys-devel/m4/m4-1.4.18-r1.ebuild b/sys-devel/m4/m4-1.4.18-r2.ebuild
similarity index 69%
rename from sys-devel/m4/m4-1.4.18-r1.ebuild
rename to sys-devel/m4/m4-1.4.18-r2.ebuild
index ac15d9604e1..e8f9585638d 100644
--- a/sys-devel/m4/m4-1.4.18-r1.ebuild
+++ b/sys-devel/m4/m4-1.4.18-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=7
 
 DESCRIPTION="GNU macro processor"
 HOMEPAGE="https://www.gnu.org/software/m4/m4.html"
@@ -13,22 +13,24 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sp
 IUSE="examples"
 
 # remember: cannot dep on autoconf since it needs us
-DEPEND="app-arch/xz-utils"
-RDEPEND=""
+BDEPEND="app-arch/xz-utils"
 
-src_prepare() {
-	eapply "${FILESDIR}"/${P}-darwin17-printf-n.patch
-	eapply "${FILESDIR}"/${P}-glibc228.patch #663924
-	default
-}
+PATCHES=(
+	"${FILESDIR}"/${P}-darwin17-printf-n.patch
+	"${FILESDIR}"/${P}-glibc228.patch #663924
+)
 
 src_configure() {
-	# Disable automagic dependency over libsigsegv; see bug #278026
-	export ac_cv_libsigsegv=no
+	local -a myeconfargs=(
+		--enable-changeword
+
+		# Disable automagic dependency over libsigsegv; see bug #278026
+		ac_cv_libsigsegv=no
+	)
+
+	[[ ${USERLAND} != GNU ]] && myeconfargs+=( --program-prefix=g )
 
-	local myconf=""
-	[[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g"
-	econf --enable-changeword ${myconf}
+	econf "${myeconfargs[@]}"
 }
 
 src_test() {
@@ -42,8 +44,7 @@ src_install() {
 	# gm4, it might find gm4 from outside the prefix on for instance Darwin
 	use prefix && dosym m4 /usr/bin/gm4
 	if use examples ; then
-		docinto examples
-		dodoc -r examples/
+		dodoc -r examples
 		rm -f "${ED}"/usr/share/doc/${PF}/examples/Makefile*
 	fi
 }


             reply	other threads:[~2021-03-26 17:58 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 17:58 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06 13:04 [gentoo-commits] repo/gentoo:master commit in: sys-devel/m4/ Sam James
2024-11-16 21:48 Sam James
2024-11-11 20:30 Sam James
2023-05-22 16:26 David Seifert
2023-05-22 16:26 David Seifert
2023-03-04 22:30 Jakov Smolić
2023-03-04 13:45 Arthur Zamarin
2023-03-04  9:10 Arthur Zamarin
2023-03-04  8:44 Arthur Zamarin
2023-03-04  7:28 Arthur Zamarin
2023-03-04  7:25 Arthur Zamarin
2023-03-04  7:17 Arthur Zamarin
2023-03-04  6:05 Arthur Zamarin
2022-10-18  2:18 Sam James
2022-04-26  9:47 WANG Xuerui
2022-04-07  3:57 Sam James
2022-02-10 20:48 Mike Gilbert
2022-02-10 14:46 Sam James
2022-02-07  0:30 Sam James
2021-08-15 19:51 Sam James
2021-08-12  6:41 Agostino Sarubbo
2021-08-11 19:11 Sam James
2021-08-11  6:41 Agostino Sarubbo
2021-08-11  6:40 Agostino Sarubbo
2021-08-11  0:20 Sam James
2021-05-30 11:00 Lars Wendler
2021-05-12  7:28 Lars Wendler
2021-05-10  8:24 Lars Wendler
2021-03-26 17:58 Lars Wendler
2021-01-06 15:32 Fabian Groffen
2020-12-27 18:18 Fabian Groffen
2020-09-13 22:30 Mike Gilbert
2020-09-13  9:57 Fabian Groffen
2019-05-04 17:28 Mikle Kolyada
2019-03-10  8:36 Mart Raudsepp
2019-03-02 15:46 Mikle Kolyada
2019-03-02 15:46 Mikle Kolyada
2019-03-02 15:46 Mikle Kolyada
2019-03-02 15:46 Mikle Kolyada
2019-03-02 15:46 Mikle Kolyada
2019-03-01  1:14 Thomas Deutschmann
2019-02-28  7:23 Sergei Trofimovich
2019-02-27  8:20 Sergei Trofimovich
2019-02-27  8:20 Sergei Trofimovich
2019-02-27  7:55 Sergei Trofimovich
2019-02-26  4:59 Jack Morgan
2019-02-25 15:19 Mikle Kolyada
2019-02-25 10:55 Mikle Kolyada
2019-02-25 10:55 Mikle Kolyada
2017-02-20 14:11 Michael Haubenwallner
2017-01-29 20:14 Fabian Groffen
2017-01-19 14:14 Mike Frysinger
2017-01-01  1:50 Anthony G. Basile
2016-12-31 23:45 Lars Wendler
2016-06-04  4:54 Markus Meier
2016-05-27 12:46 Lars Wendler
2016-05-26 20:05 Lars Wendler
2016-05-25  9:19 Anthony G. Basile
2016-05-25  6:29 Matt Turner
2016-05-25  5:25 Jeroen Roovers
2016-04-25 22:57 Anthony G. Basile
2016-04-21  6:27 Anthony G. Basile

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=1616781508.132dcde9f1a1cd1692b91fa5eabaadc8d03a3340.polynomial-c@gentoo \
    --to=polynomial-c@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