diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-06-23 07:36:46 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-06-23 07:36:46 +0000 |
commit | 5029d055628943e673f0aa6db1bb6280fd3f13ee (patch) | |
tree | 2bdb717479af81b96d00f20f60930b779b582e42 /dev-db | |
parent | sys-fs/aufs3: Bump to latest aufs3 release (diff) | |
download | gentoo-2-5029d055628943e673f0aa6db1bb6280fd3f13ee.tar.gz gentoo-2-5029d055628943e673f0aa6db1bb6280fd3f13ee.tar.bz2 gentoo-2-5029d055628943e673f0aa6db1bb6280fd3f13ee.zip |
Enable multilib support, required for dev-qt/qtsql. Remove obsolete dependencies.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libiodbc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/libiodbc/libiodbc-3.52.8-r2.ebuild | 68 |
2 files changed, 76 insertions, 2 deletions
diff --git a/dev-db/libiodbc/ChangeLog b/dev-db/libiodbc/ChangeLog index 288b28be4879..da7b58d3f1c7 100644 --- a/dev-db/libiodbc/ChangeLog +++ b/dev-db/libiodbc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/libiodbc -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/ChangeLog,v 1.60 2013/04/09 12:17:42 olemarkus Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/ChangeLog,v 1.61 2014/06/23 07:36:46 mgorny Exp $ + +*libiodbc-3.52.8-r2 (23 Jun 2014) + + 23 Jun 2014; Michał Górny <mgorny@gentoo.org> +libiodbc-3.52.8-r2.ebuild: + Enable multilib support, required for dev-qt/qtsql. Remove obsolete + dependencies. *libiodbc-3.52.8-r1 (09 Apr 2013) diff --git a/dev-db/libiodbc/libiodbc-3.52.8-r2.ebuild b/dev-db/libiodbc/libiodbc-3.52.8-r2.ebuild new file mode 100644 index 000000000000..895ceac7b2d9 --- /dev/null +++ b/dev-db/libiodbc/libiodbc-3.52.8-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libiodbc/libiodbc-3.52.8-r2.ebuild,v 1.1 2014/06/23 07:36:46 mgorny Exp $ + +EAPI="5" + +inherit autotools eutils multilib-minimal + +MY_PN="iODBC" + +DESCRIPTION="ODBC Interface for Linux." +HOMEPAGE="http://www.iodbc.org/" +SRC_URI="https://github.com/openlink/${MY_PN}/archive/v${PV}.zip -> ${P}.zip" + +KEYWORDS="~amd64 ~x86" +LICENSE="|| ( LGPL-2 BSD )" +SLOT="0" +IUSE="gtk" + +RDEPEND="gtk? ( x11-libs/gtk+:2[${MULTILIB_USEDEP}] )" + +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog NEWS README" + +S="${WORKDIR}/${MY_PN}-${PV}" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/iodbc-config +) + +src_prepare() { + sed -i.orig \ + -e '/^cd "$PREFIX"/,/^esac/d' \ + iodbc/install_libodbc.sh || die "sed failed" + epatch \ + "${FILESDIR}"/libiodbc-3.52.7-debian_bug501100.patch \ + "${FILESDIR}"/libiodbc-3.52.7-debian_bug508480.patch \ + "${FILESDIR}"/libiodbc-3.52.7-gtk.patch \ + "${FILESDIR}"/libiodbc-3.52.7-multilib.patch \ + "${FILESDIR}"/libiodbc-3.52.7-unicode_includes.patch \ + "${FILESDIR}"/libiodbc-3.52.8-gtk-parallel-make.patch \ + "${FILESDIR}"/libiodbc-3.52.8-runtime-failures.patch \ + "${FILESDIR}"/fix-runpaths.patch + chmod -x include/*.h || die + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --enable-odbc3 \ + --enable-pthreads \ + --with-layout=gentoo \ + --with-iodbc-inidir=yes \ + $(use_enable gtk gui) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files + + # Install lintian overrides + insinto /usr/share/lintian/overrides + newins debian/iodbc.lintian-overrides iodbc + newins debian/libiodbc2.lintian-overrides libiodbc2 +} |