From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/colm/
Date: Fri, 28 Oct 2022 22:47:24 +0000 (UTC) [thread overview]
Message-ID: <1666997221.4442e3e66d8459aeaaaa33afaa263a5a9c2b9c55.pacho@gentoo> (raw)
commit: 4442e3e66d8459aeaaaa33afaa263a5a9c2b9c55
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 21:40:42 2022 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 22:47:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4442e3e6
dev-util/colm: Drop .la files and fix sed delimiter for CFLAGS
Closes: https://bugs.gentoo.org/840966
Closes: https://bugs.gentoo.org/840969
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
dev-util/colm/colm-0.14.7-r2.ebuild | 67 +++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/dev-util/colm/colm-0.14.7-r2.ebuild b/dev-util/colm/colm-0.14.7-r2.ebuild
new file mode 100644
index 000000000000..23a2f43b338a
--- /dev/null
+++ b/dev-util/colm/colm-0.14.7-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="COmputer Language Manipulation"
+HOMEPAGE="https://www.colm.net/open-source/colm/"
+SRC_URI="https://www.colm.net/files/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc"
+
+BDEPEND="
+ doc? (
+ || ( app-text/asciidoc dev-ruby/asciidoctor )
+ dev-python/pygments
+ )
+"
+# libfsm moved from ragel -> colm, bug #766108
+RDEPEND="!<dev-util/ragel-7.0.3"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.14.7-drop-julia-check.patch
+ "${FILESDIR}"/${PN}-0.14.7-disable-static-lib.patch
+ "${FILESDIR}"/${PN}-0.14.7-solaris.patch
+)
+
+src_prepare() {
+ default
+
+ # bug #733426
+ sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
+
+ # bug #766069
+ sed -i -e "s|gcc|$(tc-getCC) ${CFLAGS}|" src/main.cc || die
+ sed -i -e "s|gcc|$(tc-getCC)|" test/colm.d/gentests.sh || die
+ sed -i -e "s|g++|$(tc-getCXX)|" test/colm.d/gentests.sh || die
+
+ # fix linkage on Darwin from colm itself during build
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e 's/libcolm\.so/libcolm.dylib/' src/main.cc || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable doc manual)
+}
+
+src_test() {
+ # Build tests
+ default
+
+ # Run them
+ cd test || die
+ ./runtests || die
+}
+
+src_install() {
+ default
+ find "${ED}" -type f -name '*.la' -delete || die
+}
next reply other threads:[~2022-10-28 22:47 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 22:47 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-20 21:59 [gentoo-commits] repo/gentoo:master commit in: dev-util/colm/ Sam James
2024-11-21 15:56 Sam James
2024-02-29 7:34 Sam James
2024-02-29 7:34 Sam James
2023-12-23 18:24 Sam James
2023-12-23 18:24 Sam James
2023-12-23 18:24 Sam James
2023-12-23 18:24 Sam James
2023-12-17 0:05 Sam James
2023-05-20 5:09 Sam James
2023-03-17 16:09 Sam James
2023-03-17 16:08 Arthur Zamarin
2022-12-03 11:03 Sam James
2022-12-02 0:46 Sam James
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-12-01 20:50 Arthur Zamarin
2022-12-01 20:49 Arthur Zamarin
2022-09-14 0:21 Sam James
2022-07-02 9:38 Matthew Smith
2022-04-19 18:34 Sam James
2022-04-19 12:46 Arthur Zamarin
2022-04-18 9:28 Agostino Sarubbo
2022-04-18 9:27 Agostino Sarubbo
2022-04-18 9:26 Agostino Sarubbo
2022-04-17 19:00 Sam James
2022-01-16 13:46 Fabian Groffen
2022-01-16 9:34 Fabian Groffen
2021-08-29 14:16 Fabian Groffen
2021-07-20 23:18 Marek Szuba
2021-05-31 20:45 David Seifert
2021-05-29 15:33 Sam James
2021-05-28 19:11 Sam James
2021-05-28 2:27 Sam James
2021-03-08 14:15 Sam James
2021-03-02 19:08 Sergei Trofimovich
2021-02-25 4:22 Sam James
2021-02-25 4:18 Sam James
2021-02-25 3:55 Sam James
2021-02-22 7:57 Joshua Kinard
2021-02-21 8:02 Sam James
2021-01-19 14:48 Sam James
2021-01-19 14:48 Sam James
2021-01-19 1:34 Sam James
2021-01-19 1:21 Sam James
2021-01-18 23:24 Sam James
2021-01-18 23:05 Sam James
2021-01-18 23:05 Sam James
2021-01-18 23:05 Sam James
2021-01-18 22:57 Sam James
2021-01-05 20:51 Sam James
2021-01-03 12:10 Sergei Trofimovich
2021-01-03 11:51 Sergei Trofimovich
2021-01-03 9:15 Sam James
2021-01-02 11:52 Sergei Trofimovich
2021-01-01 23:00 Sam James
2020-12-29 21:26 Sam James
2020-12-29 8:36 Sam James
2020-12-28 8:18 Sam James
2020-12-10 2:13 Matt Turner
2020-12-07 3:54 Sam James
2020-07-20 6:42 Agostino Sarubbo
2020-07-18 17:06 Sam James
2020-07-14 16:38 Sergei Trofimovich
2020-07-14 15:22 Sam James
2020-07-13 16:59 Sam James
2020-07-13 16:30 Sam James
2020-07-12 12:34 Sergei Trofimovich
2020-07-11 3:39 Sam James
2020-07-10 12:36 Luca Barbato
2019-10-20 22:40 David Seifert
2019-10-20 22:37 David Seifert
2019-10-20 22:37 David Seifert
2019-06-24 15:14 Michael Haubenwallner
2018-05-24 10:16 Lars Wendler
2018-05-24 9:23 Lars Wendler
2018-05-24 9:23 Lars Wendler
2017-09-06 9:04 Lars Wendler
2017-07-26 9:51 Lars Wendler
2017-07-26 9:51 Lars Wendler
2017-07-12 7:50 Sergei Trofimovich
2017-06-26 9:21 Alexis Ballier
2016-12-10 19:50 Michał Górny
2016-07-21 8:49 Patrick Lauer
2016-02-09 13:08 Lars Wendler
2016-02-09 13:08 Lars Wendler
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=1666997221.4442e3e66d8459aeaaaa33afaa263a5a9c2b9c55.pacho@gentoo \
--to=pacho@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