From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libofa/
Date: Thu, 24 Nov 2022 01:12:32 +0000 (UTC) [thread overview]
Message-ID: <1669252041.322575cdd79e7e200c74066f30c02a90ce2b8dd0.sam@gentoo> (raw)
commit: 322575cdd79e7e200c74066f30c02a90ce2b8dd0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 01:07:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 01:07:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=322575cd
media-libs/libofa: fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{libofa-0.9.3-r2.ebuild => libofa-0.9.3-r3.ebuild} | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/media-libs/libofa/libofa-0.9.3-r2.ebuild b/media-libs/libofa/libofa-0.9.3-r3.ebuild
similarity index 80%
rename from media-libs/libofa/libofa-0.9.3-r2.ebuild
rename to media-libs/libofa/libofa-0.9.3-r3.ebuild
index d561bd01c9f0..f991500d7892 100644
--- a/media-libs/libofa/libofa-0.9.3-r2.ebuild
+++ b/media-libs/libofa/libofa-0.9.3-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit flag-o-matic multilib-minimal
+inherit autotools flag-o-matic multilib-minimal
DESCRIPTION="Open Fingerprint Architecture"
HOMEPAGE="https://code.google.com/p/musicip-libofa/"
@@ -12,7 +12,6 @@ SRC_URI="https://musicip-libofa.googlecode.com/files/${P}.tar.gz"
LICENSE="|| ( APL-1.0 GPL-2 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
BDEPEND="virtual/pkgconfig"
DEPEND=">=sci-libs/fftw-3.3.3-r2[${MULTILIB_USEDEP}]"
@@ -26,13 +25,20 @@ src_prepare() {
# disable building non-installed examples
sed -i -e '/SUBDIRS/s:examples::' Makefile.{am,in} || die
+ # Force regeneration for Clang 16
+ rm aclocal.m4 || die
+ eautoreconf
+}
+
+src_configure() {
is-flag -ffast-math && append-flags -fno-fast-math
+
+ multilib-minimal_src_configure
}
multilib_src_configure() {
# disable dependencies that were used for the noinst_ example only
- ECONF_SOURCE=${S} \
- econf \
+ ECONF_SOURCE="${S}" econf \
ac_cv_lib_expat_XML_ExpatVersion=yes \
ac_cv_lib_curl_curl_global_init=yes \
--disable-static
next reply other threads:[~2022-11-24 1:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-24 1:12 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-20 10:37 [gentoo-commits] repo/gentoo:master commit in: media-libs/libofa/ WANG Xuerui
2019-05-03 8:44 Pacho Ramos
2019-05-02 21:30 Mikle Kolyada
2019-04-28 22:06 Thomas Deutschmann
2019-04-08 0:51 Aaron Bauman
2019-04-07 20:52 Sergei Trofimovich
2019-04-05 19:03 Sergei Trofimovich
2017-09-20 21:49 James Le Cuirot
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=1669252041.322575cdd79e7e200c74066f30c02a90ce2b8dd0.sam@gentoo \
--to=sam@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