summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/mdbtools')
-rw-r--r--app-office/mdbtools/ChangeLog9
-rw-r--r--app-office/mdbtools/files/mdbtools-0.7.1-parallel-make.patch17
-rw-r--r--app-office/mdbtools/mdbtools-0.7.1.ebuild46
-rw-r--r--app-office/mdbtools/mdbtools-0.7.ebuild4
4 files changed, 74 insertions, 2 deletions
diff --git a/app-office/mdbtools/ChangeLog b/app-office/mdbtools/ChangeLog
index 44ae17c434b7..74913d71fe2e 100644
--- a/app-office/mdbtools/ChangeLog
+++ b/app-office/mdbtools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-office/mdbtools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v 1.59 2013/05/28 12:14:47 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/ChangeLog,v 1.60 2013/10/14 13:30:15 pinkbyte Exp $
+
+*mdbtools-0.7.1 (14 Oct 2013)
+
+ 14 Oct 2013; Sergey Popov <pinkbyte@gentoo.org> mdbtools-0.7.ebuild,
+ +mdbtools-0.7.1.ebuild, +files/mdbtools-0.7.1-parallel-make.patch:
+ Version bump, wrt bug #487866. Add parallel make fixes, wrt bug #486434,
+ thanks to Chris Kerr <gingekerr AT yahoo.co.uk>
*mdbtools-0.7 (28 May 2013)
diff --git a/app-office/mdbtools/files/mdbtools-0.7.1-parallel-make.patch b/app-office/mdbtools/files/mdbtools-0.7.1-parallel-make.patch
new file mode 100644
index 000000000000..25201aac643d
--- /dev/null
+++ b/app-office/mdbtools/files/mdbtools-0.7.1-parallel-make.patch
@@ -0,0 +1,17 @@
+Patch for fixing parallel make issue, bug #486434
+
+Related links:
+
+https://github.com/brianb/mdbtools/issues/33
+https://github.com/brianb/mdbtools/issues/35
+
+diff --git a/src/sql/Makefile.am b/src/sql/Makefile.am
+index 633f0c3..94b0838 100644
+--- a/src/sql/Makefile.am
++++ b/src/sql/Makefile.am
+@@ -1,3 +1,5 @@
++BUILT_SOURCES = parser.h
++AM_YFLAGS = -d
+ lib_LTLIBRARIES = libmdbsql.la
+ libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l
+ libmdbsql_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^mdb_sql_'
diff --git a/app-office/mdbtools/mdbtools-0.7.1.ebuild b/app-office/mdbtools/mdbtools-0.7.1.ebuild
new file mode 100644
index 000000000000..613482bc771e
--- /dev/null
+++ b/app-office/mdbtools/mdbtools-0.7.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.7.1.ebuild,v 1.1 2013/10/14 13:30:15 pinkbyte Exp $
+
+EAPI="5"
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1 # needed for proper man generation
+inherit autotools-utils
+
+DESCRIPTION="A set of libraries and utilities for reading Microsoft Access database (MDB) files"
+HOMEPAGE="http://mdbtools.sourceforge.net"
+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 ~x86-fbsd"
+
+IUSE="gnome odbc static-libs"
+
+RDEPEND="dev-libs/glib:2
+ sys-libs/ncurses
+ sys-libs/readline
+ gnome? (
+ gnome-base/libglade:2.0
+ gnome-base/libgnomeui
+ )
+ odbc? ( >=dev-db/unixODBC-2.0 )"
+DEPEND="${RDEPEND}
+ app-text/txt2man
+ sys-devel/flex
+ virtual/pkgconfig
+ virtual/yacc"
+
+DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
+
+PATCHES=( "${FILESDIR}/${P}-parallel-make.patch" )
+
+src_configure() {
+ local myeconfargs=(
+ --disable-gtk-doc
+ $(use_enable gnome gmdb2)
+ $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
+ )
+ autotools-utils_src_configure
+}
diff --git a/app-office/mdbtools/mdbtools-0.7.ebuild b/app-office/mdbtools/mdbtools-0.7.ebuild
index 4603a97779b5..831e1bcf4ad1 100644
--- a/app-office/mdbtools/mdbtools-0.7.ebuild
+++ b/app-office/mdbtools/mdbtools-0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.7.ebuild,v 1.1 2013/05/28 12:14:47 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/mdbtools/mdbtools-0.7.ebuild,v 1.2 2013/10/14 13:30:15 pinkbyte Exp $
EAPI="5"
@@ -34,6 +34,8 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS ChangeLog HACKING NEWS README TODO )
+PATCHES=( "${FILESDIR}/${PN}-0.7.1-parallel-make.patch" )
+
src_configure() {
local myeconfargs=(
--disable-gtk-doc