summaryrefslogtreecommitdiff
path: root/dev-util/re2c
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-11 19:55:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-11 19:55:43 +0100
commit185fa19bbf68a4d4dca534d2b46729207a177f16 (patch)
treea8a537b82fda83a0799c2ca9887f212558363aa7 /dev-util/re2c
parentc8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (diff)
gentoo resync : 11.05.2021
Diffstat (limited to 'dev-util/re2c')
-rw-r--r--dev-util/re2c/Manifest4
-rw-r--r--dev-util/re2c/re2c-2.0.3.ebuild27
-rw-r--r--dev-util/re2c/re2c-2.1.1-r1.ebuild12
3 files changed, 13 insertions, 30 deletions
diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest
index 6e29588cd07e..b6c20482ab59 100644
--- a/dev-util/re2c/Manifest
+++ b/dev-util/re2c/Manifest
@@ -1,6 +1,4 @@
AUX re2c-2.1.1-sh.patch 1688 BLAKE2B 1143d1d5867c07aaa48e3c1795b1c4867eba665315a583d4991872b457a7ba222dac1c699917cf02b6d55306e6de3a5e0c65cf2f0505ec4283b7833522b5bb39 SHA512 33b48ee8f4ab871958eff901596c1282823eb597c7679ad8e11e72a84e4da1d72b01d2732f0d251c5f1dcb8656c86c60fc31f795cdd679f0d66a4053cb49529a
-DIST re2c-2.0.3.tar.xz 1288996 BLAKE2B 76913a79ad9c237843ccbe86dd05db755da19fc89351b64d6ece6a9a8d53860f1cc12493748fca5b7391cddff4f4668295fb2613c257c128870ea2e7163811ed SHA512 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c
DIST re2c-2.1.1.tar.xz 1340740 BLAKE2B e0e3cdb7ea78324467a8fe3161fe9b0cc1eb44baf9a554b892e1f7f8b8d089e8dca58da347527c595881e1119344858694c133ba0f1676424914f6518adbf4f4 SHA512 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae
-EBUILD re2c-2.0.3.ebuild 763 BLAKE2B 1be81406a67a3a0366e29d2708f1f79f9d9a2b3f5c23e54b1a7db465371b4cd95f2c0ce7b3ffc4bc1daf4eaeb8da1427e6f148a4f73ca315b2c5181e429da422 SHA512 463e2dccbd6d9efb36d739926d52836180155d7fe5265de9977fa735b016c0775af869b11c6f1d8efe4afce4d8417a425e07f84b081270df367cfb941a140bd4
-EBUILD re2c-2.1.1-r1.ebuild 802 BLAKE2B c23439ed5b68ad7263c0dcc337870b2b4256c7d9b4aabba114e1c93065468b8eda320a803356bebe08897d88a48ad6f69e6dd30fe7a999909bb13a1a7dd36651 SHA512 a314917b545b13ce8de5e35c66f216866a90b6033d8ba8c52e7d955440bea93a91cda91fdbc0ffe7b2c430abfae885960a90c6592b94271487194a73836fc0cd
+EBUILD re2c-2.1.1-r1.ebuild 1031 BLAKE2B 37bd605831fcac4a33ed2973a9f419d71dd295e59d28227444bf664d4b7f4f568d43b161ba22dd92f08c20d82b0a27d5152b81ee4c7d8dbe4e4acb52304a5859 SHA512 10c26da7a45635380d4350a23cc0b4795bd9c4d8ffa7648ac5ef7051ee12c3e7bd875ba254982aad1b264b3b1aa1da8c30b93070390eb37bb398bbd96f192e51
MISC metadata.xml 476 BLAKE2B b2dad245e1cdcbb73e8b6e53442f7e9ec41337746c50f026c0fda68d57ebe10fb6193a26fcf9fca11e23570f44b104bd40d22fa1283fa91034f7cb792d436463 SHA512 e3018ee81606a018d66169cd142a17a34248587b77deb4baeb6daae6aca2d9a70095fb5dc2180d146043030631172f6fa17b3c8ddd5bebe85eebf6f3be79f9ab
diff --git a/dev-util/re2c/re2c-2.0.3.ebuild b/dev-util/re2c/re2c-2.0.3.ebuild
deleted file mode 100644
index 6057a230e385..000000000000
--- a/dev-util/re2c/re2c-2.0.3.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="tool for generating C-based recognizers from regular expressions"
-HOMEPAGE="http://re2c.org/"
-SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.xz"
-
-LICENSE="public-domain"
-SLOT="0"
-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"
-IUSE="debug"
-
-src_configure() {
- econf \
- --enable-golang \
- ac_cv_path_BISON="no" \
- $(use_enable debug)
-}
-
-src_install() {
- default
-
- docompress -x /usr/share/doc/${PF}/examples
- dodoc -r README.md CHANGELOG examples
-}
diff --git a/dev-util/re2c/re2c-2.1.1-r1.ebuild b/dev-util/re2c/re2c-2.1.1-r1.ebuild
index 29518e3a9d51..854354f08251 100644
--- a/dev-util/re2c/re2c-2.1.1-r1.ebuild
+++ b/dev-util/re2c/re2c-2.1.1-r1.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit autotools
+
DESCRIPTION="tool for generating C-based recognizers from regular expressions"
HOMEPAGE="http://re2c.org/"
SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.xz"
@@ -14,6 +16,16 @@ IUSE="debug"
PATCHES=("${FILESDIR}"/${P}-sh.patch)
+src_prepare() {
+ default
+
+ # Only needed for the sh patch
+ # Despite the patch modifying the configure directly,
+ # this is sometimes fragile and triggers maintainer mode anyway.
+ # bug #779187
+ eautoreconf
+}
+
src_configure() {
econf \
--enable-golang \