public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/mdbtools/
Date: Thu, 11 Feb 2021 03:04:25 +0000 (UTC)	[thread overview]
Message-ID: <1613012113.4a7784b89a64333172bad521d2571d2d6826ace5.sam@gentoo> (raw)

commit:     4a7784b89a64333172bad521d2571d2d6826ace5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 02:55:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 02:55:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7784b8

app-office/mdbtools: port to EAPI 7

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/mdbtools/mdbtools-0.7.1-r2.ebuild | 40 ++++++++++++++++++----------
 1 file changed, 26 insertions(+), 14 deletions(-)

diff --git a/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild b/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild
index 63be1d8704b..ee4183e217e 100644
--- a/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild
+++ b/app-office/mdbtools/mdbtools-0.7.1-r2.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation
-inherit autotools-utils
+inherit autotools
 
 DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files"
 HOMEPAGE="http://mdbtools.sourceforge.net"
@@ -14,30 +12,44 @@ SRC_URI="https://github.com/brianb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
+IUSE="odbc"
 
-IUSE="odbc static-libs"
-
-RDEPEND="
-	dev-libs/glib:2
-	sys-libs/ncurses:0=
-	sys-libs/readline:0=
-	odbc? ( >=dev-db/unixODBC-2.0 )"
-DEPEND="${RDEPEND}
+BDEPEND="
 	app-text/txt2man
 	sys-devel/flex
 	virtual/pkgconfig
 	virtual/yacc
 "
+RDEPEND="
+	dev-libs/glib:2
+	sys-libs/ncurses:0=
+	sys-libs/readline:0=
+	odbc? ( >=dev-db/unixODBC-2.0 )"
+DEPEND="${RDEPEND}"
 
 DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
 
 PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" )
 
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
 src_configure() {
 	local myeconfargs=(
 		--disable-gtk-doc
 		--disable-gmdb2
+		--disable-static
 		$(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
 	)
-	autotools-utils_src_configure
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
 }


             reply	other threads:[~2021-02-11  3:04 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11  3:04 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 19:13 [gentoo-commits] repo/gentoo:master commit in: app-office/mdbtools/ Arthur Zamarin
2025-03-08 18:54 Arthur Zamarin
2025-03-08 15:33 Sam James
2025-03-08 14:12 Sam James
2025-03-08 14:09 Sam James
2025-03-08 13:43 Sam James
2024-12-27 14:03 Sam James
2023-05-18  6:21 Jakov Smolić
2022-04-12 23:15 Jakov Smolić
2021-12-05 18:39 Sam James
2021-12-05 18:31 Sam James
2021-12-05 18:21 Arthur Zamarin
2021-12-05  4:16 Sam James
2021-10-25  6:06 Sam James
2021-10-25  6:06 Sam James
2021-10-25  6:06 Sam James
2021-10-25  6:06 Sam James
2021-10-25  6:06 Sam James
2021-10-24 23:39 Sam James
2021-10-24 23:34 Sam James
2021-08-05  3:52 Sam James
2021-07-24  6:22 John Helmert III
2021-05-10 13:20 Sergei Trofimovich
2021-05-09  6:00 Sam James
2021-05-09  6:00 Sam James
2021-05-09  4:05 Sam James
2021-05-03 16:49 Sam James
2021-02-27  4:12 Sam James
2021-02-11  3:47 Sam James
2021-02-11  3:04 Sam James
2021-02-11  3:04 Sam James
2021-02-11  3:04 Sam James
2018-04-01 20:21 Jonas Stein
2018-02-11 10:25 Michał Górny
2017-08-30 15:36 Sergey Popov
2016-11-03 14:42 Pacho Ramos
2016-11-03 14:42 Pacho Ramos
2016-11-03 14:42 Pacho Ramos
2016-11-03 14:42 Pacho Ramos
2016-11-03 14:42 Pacho Ramos
2015-10-31  9:36 Ian Delaney
2015-10-27  7:58 Ian Delaney

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=1613012113.4a7784b89a64333172bad521d2571d2d6826ace5.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