From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/unixODBC/
Date: Wed, 21 May 2025 21:15:44 +0000 (UTC) [thread overview]
Message-ID: <1747862070.d6bf476d15b1f7cc1cd4e85bac2903926ea563eb.sam@gentoo> (raw)
commit: d6bf476d15b1f7cc1cd4e85bac2903926ea563eb
Author: Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org>
AuthorDate: Sat May 17 18:14:34 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 21:14:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6bf476d
dev-db/unixODBC: fix missing libcrypt dep
Bug: https://bugs.gentoo.org/955640
Closes: https://bugs.gentoo.org/955640
Signed-off-by: Jan-Espen Oversand <sigsegv <AT> radiotube.org>
Part-of: https://github.com/gentoo/gentoo/pull/42126
Closes: https://github.com/gentoo/gentoo/pull/42126
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-db/unixODBC/unixODBC-2.3.12-r2.ebuild | 82 +++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
diff --git a/dev-db/unixODBC/unixODBC-2.3.12-r2.ebuild b/dev-db/unixODBC/unixODBC-2.3.12-r2.ebuild
new file mode 100644
index 000000000000..295056e3adf2
--- /dev/null
+++ b/dev-db/unixODBC/unixODBC-2.3.12-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal
+
+DESCRIPTION="Complete ODBC driver manager"
+HOMEPAGE="https://www.unixodbc.org/"
+SRC_URI="https://www.unixodbc.org/unixODBC-${PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+minimal odbcmanual static-libs unicode"
+
+RDEPEND="
+ dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+ >=sys-libs/readline-6.2_p5-r1:=[${MULTILIB_USEDEP}]
+ >=sys-libs/ncurses-5.9-r3:=[${MULTILIB_USEDEP}]
+ >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+ !minimal? ( virtual/libcrypt:= )
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-bug-936060.patch
+)
+
+MULTILIB_CHOST_TOOLS=( /usr/bin/odbc_config )
+MULTILIB_WRAPPED_HEADERS=( /usr/include/unixODBC/unixodbc_conf.h /usr/include/unixodbc.h )
+
+src_prepare() {
+ default
+
+ # Only needed for config.h install patch
+ eautoreconf
+}
+
+multilib_src_configure() {
+ # Needs flex, bison
+ export LEX=flex
+ unset YACC
+
+ # bug #947922
+ append-cflags -std=gnu17
+
+ # --enable-driver-conf is --enable-driverc as per configure.in
+ local myeconfargs=(
+ --cache-file="${BUILD_DIR}"/config.cache
+ --sysconfdir="${EPREFIX}"/etc/${PN}
+ --disable-editline
+ --disable-static
+ --enable-iconv
+ --enable-shared
+ $(use_enable static-libs static)
+ $(use_enable !minimal drivers)
+ $(use_enable !minimal driverc)
+ $(use_with unicode iconv-char-enc UTF8)
+ $(use_with unicode iconv-ucode-enc UTF16LE)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use odbcmanual ; then
+ # We could simply run "make install-html" if we'd not had
+ # out-of-source builds here.
+ docinto html
+ dodoc -r doc/.
+ find "${ED}/usr/share/doc/${PF}/html" -name "Makefile*" -delete || die
+ fi
+
+ use prefix && dodoc README*
+ find "${ED}" -type f -name '*.la' -delete || die
+}
next reply other threads:[~2025-05-21 21:16 UTC|newest]
Thread overview: 101+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 21:15 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-22 17:18 [gentoo-commits] repo/gentoo:master commit in: dev-db/unixODBC/ Sam James
2025-06-22 16:13 Sam James
2025-05-21 21:15 Sam James
2025-05-08 11:13 Sam James
2025-02-23 5:11 Sam James
2025-01-30 9:57 Arthur Zamarin
2025-01-30 9:57 Arthur Zamarin
2025-01-30 0:49 Sam James
2025-01-30 0:49 Sam James
2025-01-30 0:49 Sam James
2025-01-30 0:49 Sam James
2023-09-24 14:25 Arthur Zamarin
2023-09-22 17:34 Arthur Zamarin
2023-09-22 9:31 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-09-22 9:15 Arthur Zamarin
2023-08-09 4:49 Sam James
2023-06-10 7:08 Sam James
2023-06-09 18:16 Arthur Zamarin
2023-06-09 18:11 Arthur Zamarin
2023-06-09 18:04 Arthur Zamarin
2023-06-09 17:57 Arthur Zamarin
2023-05-16 18:03 Arthur Zamarin
2023-05-16 16:53 Sam James
2023-05-16 3:39 Sam James
2023-05-16 3:39 Sam James
2023-05-15 20:32 Arthur Zamarin
2023-05-15 20:29 Arthur Zamarin
2023-05-15 20:29 Arthur Zamarin
2023-05-15 20:29 Arthur Zamarin
2023-05-06 11:34 Sam James
2023-05-06 11:34 Sam James
2023-04-15 10:58 Sam James
2022-06-03 4:31 Sam James
2022-05-17 11:54 WANG Xuerui
2022-01-19 23:14 James Le Cuirot
2021-06-07 8:33 Joonas Niilola
2021-03-16 19:23 Sam James
2021-01-07 20:14 Sam James
2021-01-07 10:40 Sam James
2021-01-06 18:43 Fabian Groffen
2021-01-04 19:40 Sergei Trofimovich
2021-01-04 19:37 Sergei Trofimovich
2021-01-04 4:53 Sam James
2021-01-04 3:33 Sam James
2021-01-04 3:31 Sam James
2021-01-04 2:03 Sam James
2020-09-07 12:00 Lars Wendler
2020-03-21 10:43 Andreas Sturmlechner
2020-03-21 9:24 Mart Raudsepp
2020-02-13 14:40 Agostino Sarubbo
2020-02-06 7:51 Sergei Trofimovich
2020-02-03 15:24 Agostino Sarubbo
2020-02-03 12:49 Agostino Sarubbo
2020-02-03 12:39 Agostino Sarubbo
2020-02-03 12:38 Agostino Sarubbo
2020-02-03 12:35 Agostino Sarubbo
2020-02-03 12:31 Agostino Sarubbo
2020-02-03 12:30 Agostino Sarubbo
2019-05-05 18:41 Mikle Kolyada
2018-09-24 15:10 Lars Wendler
2018-07-15 11:45 Mart Raudsepp
2018-06-12 15:38 Mikle Kolyada
2018-04-22 21:04 Aaron Bauman
2018-04-22 19:18 Matt Turner
2018-04-13 23:22 Aaron Bauman
2018-03-20 11:08 Lars Wendler
2018-03-20 9:30 Lars Wendler
2018-03-20 9:30 Lars Wendler
2018-03-17 23:13 Matt Turner
2018-03-17 23:13 Matt Turner
2018-03-16 23:39 Sergei Trofimovich
2018-03-13 18:01 Markus Meier
2018-03-05 17:13 Tobias Klausmann
2018-03-04 6:51 Thomas Deutschmann
2018-02-28 21:49 Sergei Trofimovich
2018-02-28 9:10 Agostino Sarubbo
2018-02-27 21:56 Sergei Trofimovich
2018-02-27 13:43 Jason Zaman
2018-02-26 22:22 Sergei Trofimovich
2018-02-07 8:51 Michael Palimaka
2018-02-06 18:36 Thomas Deutschmann
2018-01-29 8:22 Tobias Klausmann
2018-01-28 20:41 Markus Meier
2018-01-15 10:39 Lars Wendler
2018-01-15 10:39 Lars Wendler
2018-01-03 17:34 Mikle Kolyada
2017-12-28 18:02 Sergei Trofimovich
2017-12-24 13:38 Sergei Trofimovich
2017-12-24 9:59 Sergei Trofimovich
2017-06-20 8:42 Alexis Ballier
2017-06-06 12:51 Pacho Ramos
2017-06-06 12:51 Pacho Ramos
2016-09-19 13:17 Lars Wendler
2016-08-06 12:47 Pacho Ramos
2016-04-10 15:24 Lars Wendler
2016-04-10 15:24 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=1747862070.d6bf476d15b1f7cc1cd4e85bac2903926ea563eb.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