diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-11 21:19:45 +0100 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-02-12 07:44:41 -0600 |
commit | c5cd45796e50d587680c6c7e60a1cee3c67e25ae (patch) | |
tree | 123aa18421a06b8f41a908cd1091c833952cdf51 /sys-fs | |
parent | net-p2p/dbhub: Port to EAPI 7 (diff) | |
download | gentoo-c5cd45796e50d587680c6c7e60a1cee3c67e25ae.tar.gz gentoo-c5cd45796e50d587680c6c7e60a1cee3c67e25ae.tar.bz2 gentoo-c5cd45796e50d587680c6c7e60a1cee3c67e25ae.zip |
sys-fs/lessfs: Apply gcc-10 workaround
* Dead upstream
Closes: https://bugs.gentoo.org/710090
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/lessfs/lessfs-1.7.0-r1.ebuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild b/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild index 7f0e7606c04a..2691c219976f 100644 --- a/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild +++ b/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit readme.gentoo-r1 + +inherit flag-o-matic readme.gentoo-r1 MY_PV="${PV/_/-}" MY_P="${PN}-${MY_PV}" @@ -17,14 +18,13 @@ KEYWORDS="amd64 x86" IUSE="berkdb crypt debug filelog memtrace lzo snappy" RDEPEND=" + app-crypt/mhash + dev-db/tokyocabinet + sys-fs/fuse:0 berkdb? ( sys-libs/db:* ) crypt? ( dev-libs/openssl:0= ) lzo? ( dev-libs/lzo ) - snappy? ( app-arch/snappy ) - >=dev-db/tokyocabinet-1.4.42 - app-crypt/mhash - >=sys-fs/fuse-2.8.0:0= -" + snappy? ( app-arch/snappy )" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -35,15 +35,19 @@ DOC_CONTENTS="Default configuration file: /etc/${PN}.cfg. PATCHES=( # From PLD-Linux, bug #674422 - "${FILESDIR}/${P}-openssl11.patch" + "${FILESDIR}"/${P}-openssl11.patch ) src_configure() { + append-flags -fcommon econf \ - $(use_enable debug) $(use_enable debug lckdebug) \ - $(use_enable filelog) $(use_with crypt crypto) \ - $(use_with lzo) $(use_enable memtrace) \ + $(use_enable debug) \ + $(use_enable debug lckdebug) \ + $(use_enable filelog) \ + $(use_enable memtrace) \ $(use_with berkdb berkeleydb) \ + $(use_with crypt crypto) \ + $(use_with lzo) \ $(use_with snappy) } |