public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/polyml/
Date: Tue, 19 Aug 2025 15:45:04 +0000 (UTC)	[thread overview]
Message-ID: <1755618300.1d44b65ee1700981583e3c3348fee4f6a13a5cef.xgqt@gentoo> (raw)

commit:     1d44b65ee1700981583e3c3348fee4f6a13a5cef
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 19 15:29:41 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Aug 19 15:45:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d44b65e

dev-lang/polyml: fix deps and lto build

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../polyml/{polyml-5.9.2.ebuild => polyml-5.9.2-r1.ebuild}    | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-lang/polyml/polyml-5.9.2.ebuild b/dev-lang/polyml/polyml-5.9.2-r1.ebuild
similarity index 90%
rename from dev-lang/polyml/polyml-5.9.2.ebuild
rename to dev-lang/polyml/polyml-5.9.2-r1.ebuild
index 9b3c4c4dbadd..ee0dab0b793c 100644
--- a/dev-lang/polyml/polyml-5.9.2.ebuild
+++ b/dev-lang/polyml/polyml-5.9.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit dot-a autotools
 
 DESCRIPTION="Poly/ML is a full implementation of Standard ML"
 HOMEPAGE="https://www.polyml.org/
@@ -25,11 +25,13 @@ SLOT="0/${PV}"
 IUSE="X +gmp portable"
 
 RDEPEND="
-	dev-libs/libffi:=
 	X? ( x11-libs/motif:0 )
 	gmp? ( >=dev-libs/gmp-5:= )
+	portable? ( dev-libs/libffi:= )
+"
+DEPEND="
+	${RDEPEND}
 "
-DEPEND="${RDEPEND}"
 
 PATCHES=(
 	"${FILESDIR}/polyml-5.9-c++11.patch"
@@ -41,6 +43,8 @@ src_prepare() {
 }
 
 src_configure() {
+	lto-guarantee-fat
+
 	local myconf=(
 		--enable-shared
 		--with-pic=pic-only
@@ -57,6 +61,7 @@ src_test() {
 
 src_install() {
 	default
+	strip-lto-bytecode
 
 	if [[ -f "${ED}"/usr/$(get_libdir)/libpolymain.la ]] ; then
 		rm "${ED}"/usr/$(get_libdir)/libpolymain.la || die


             reply	other threads:[~2025-08-19 15:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-19 15:45 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-09 17:14 [gentoo-commits] repo/gentoo:master commit in: dev-lang/polyml/ Maciej Barć
2025-08-09 17:14 Maciej Barć
2023-09-18 15:00 Maciej Barć
2023-09-07 21:03 Maciej Barć
2022-07-02 20:35 Alfredo Tupone
2021-12-03 21:53 Maciej Barć
2021-12-03 12:55 Maciej Barć
2021-12-03 12:55 Maciej Barć
2021-08-05  2:09 Sam James
2021-03-16 19:23 Sam James
2020-11-16 22:53 Sergei Trofimovich
2020-09-24 19:53 Aaron Bauman
2019-10-21  7:06 Alfredo Tupone
2019-04-06 19:12 Alfredo Tupone
2019-04-05 16:44 Alfredo Tupone
2018-06-07 19:22 Aaron Bauman
2016-12-28 12:14 Mark Wright

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=1755618300.1d44b65ee1700981583e3c3348fee4f6a13a5cef.xgqt@gentoo \
    --to=xgqt@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