From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 632A3138359 for ; Mon, 7 Sep 2020 20:44:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 847F0E0AA0; Mon, 7 Sep 2020 20:44:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68A0BE0AA0 for ; Mon, 7 Sep 2020 20:44:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0846340E47 for ; Mon, 7 Sep 2020 20:44:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95FD1352 for ; Mon, 7 Sep 2020 20:44:32 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1599511438.cdea7ddd380498800f12646a5a959376bbe0c74c.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/gdbm/gdbm-1.18.1-r1.ebuild X-VCS-Directories: sys-libs/gdbm/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: cdea7ddd380498800f12646a5a959376bbe0c74c X-VCS-Branch: master Date: Mon, 7 Sep 2020 20:44:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3b70752-a477-4c47-a749-cd1a6eb0e1e5 X-Archives-Hash: 95ff8169af3dae9aead48e8d40defdf8 commit: cdea7ddd380498800f12646a5a959376bbe0c74c Author: David Michael gmail com> AuthorDate: Thu Sep 3 12:35:13 2020 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Mon Sep 7 20:43:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdea7ddd sys-libs/gdbm: EAPI 7 Closes: https://bugs.gentoo.org/739300 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: David Michael gmail.com> Signed-off-by: Mike Gilbert gentoo.org> sys-libs/gdbm/gdbm-1.18.1-r1.ebuild | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild b/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild new file mode 100644 index 00000000000..0a1c428f7d4 --- /dev/null +++ b/sys-libs/gdbm/gdbm-1.18.1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib multilib-minimal + +DESCRIPTION="Standard GNU database libraries" +HOMEPAGE="https://www.gnu.org/software/gdbm/" +SRC_URI="mirror://gnu/gdbm/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/6" # libgdbm.so version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+berkdb nls +readline static-libs" + +DEPEND=" + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +PATCHES=("${FILESDIR}"/${PN}-1.18.1-gcc-10.patch) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # gdbm doesn't appear to use either of these libraries + export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no + + local myeconfargs=( + --includedir="${EPREFIX}"/usr/include/gdbm + $(use_enable berkdb libgdbm-compat) + $(use_enable nls) + $(use_enable static-libs static) + $(use_with readline) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + + if ! use static-libs ; then + find "${ED}" -name '*.la' -delete || die + fi + mv "${ED}"/usr/include/gdbm/gdbm.h "${ED}"/usr/include/ || die +}