summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hoffmann <hoffie@gentoo.org>2008-10-13 16:13:15 +0000
committerChristian Hoffmann <hoffie@gentoo.org>2008-10-13 16:13:15 +0000
commitb8b721cbe267c15b5f34b619ad31d3d561162265 (patch)
tree1a1f768c57f9a177911653b177d366541472a027 /dev-db/freetds
parentVersion bump. Added workaround for parallel build failure in ruby, bug #23910... (diff)
downloadgentoo-2-b8b721cbe267c15b5f34b619ad31d3d561162265.tar.gz
gentoo-2-b8b721cbe267c15b5f34b619ad31d3d561162265.tar.bz2
gentoo-2-b8b721cbe267c15b5f34b619ad31d3d561162265.zip
fixing installation of docs, thanks to Diego Pettenò <flameeyes@gentoo.org> in bug 241268
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-db/freetds')
-rw-r--r--dev-db/freetds/ChangeLog10
-rw-r--r--dev-db/freetds/freetds-0.82-r2.ebuild27
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-db/freetds/ChangeLog b/dev-db/freetds/ChangeLog
index 931304231f4d..dd76243fb61c 100644
--- a/dev-db/freetds/ChangeLog
+++ b/dev-db/freetds/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/freetds
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/ChangeLog,v 1.45 2008/07/16 19:06:51 hoffie Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/ChangeLog,v 1.46 2008/10/13 16:13:15 hoffie Exp $
+
+*freetds-0.82-r2 (13 Oct 2008)
+
+ 13 Oct 2008; Christian Hoffmann <hoffie@gentoo.org>
+ +freetds-0.82-r2.ebuild:
+ fixing installation of docs (they were installed to
+ /usr/share/doc/${PN}-${PV} instead of ..${PN}-${PVR} (or simply ${PF}),
+ thanks to Diego Pettenò <flameeyes@gentoo.org> in bug 241268
*freetds-0.82-r1 (16 Jul 2008)
diff --git a/dev-db/freetds/freetds-0.82-r2.ebuild b/dev-db/freetds/freetds-0.82-r2.ebuild
new file mode 100644
index 000000000000..df27bbf87a25
--- /dev/null
+++ b/dev-db/freetds/freetds-0.82-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/freetds-0.82-r2.ebuild,v 1.1 2008/10/13 16:13:15 hoffie Exp $
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+DESCRIPTION="Tabular Datastream Library."
+HOMEPAGE="http://www.freetds.org/"
+SRC_URI="http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="odbc mssql"
+RESTRICT="test"
+
+DEPEND="odbc? ( dev-db/unixODBC )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ econf --with-tdsver=7.0 \
+ $(use_enable odbc) $(use odbc && echo --with-unixodbc=/usr) \
+ $(use_enable mssql msdblib) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" DOCDIR="doc/${PF}" install || die "make install failed"
+}