From: | "Ole Markus With (olemarkus)" <olemarkus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-db/freetds: freetds-0.91-r1.ebuild ChangeLog |
Date: | Wed, 22 Jan 2014 13:37:36 |
Message-Id: | 20140122133730.AEF7B2004C@flycatcher.gentoo.org |
1 | olemarkus 14/01/22 13:37:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: freetds-0.91-r1.ebuild |
5 | Log: |
6 | Fix for bug 498374 |
7 | |
8 | (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5) |
9 | |
10 | Revision Changes Path |
11 | 1.66 dev-db/freetds/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/freetds/ChangeLog?rev=1.66&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/freetds/ChangeLog?rev=1.66&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/freetds/ChangeLog?r1=1.65&r2=1.66 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-db/freetds/ChangeLog,v |
20 | retrieving revision 1.65 |
21 | retrieving revision 1.66 |
22 | diff -u -r1.65 -r1.66 |
23 | --- ChangeLog 27 Aug 2013 22:32:15 -0000 1.65 |
24 | +++ ChangeLog 22 Jan 2014 13:37:30 -0000 1.66 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-db/freetds |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/ChangeLog,v 1.65 2013/08/27 22:32:15 aballier Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/ChangeLog,v 1.66 2014/01/22 13:37:30 olemarkus Exp $ |
31 | + |
32 | +*freetds-0.91-r1 (22 Jan 2014) |
33 | + |
34 | + 22 Jan 2014; Ole Markus With <olemarkus@g.o> |
35 | + +files/freetds-0.91-fix_field_aliases.patch, +freetds-0.91-r1.ebuild: |
36 | + Fix for bug 498374 |
37 | |
38 | 27 Aug 2013; Alexis Ballier <aballier@g.o> freetds-0.91.ebuild: |
39 | keyword ~amd64-fbsd |
40 | |
41 | |
42 | |
43 | 1.1 dev-db/freetds/freetds-0.91-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/freetds/freetds-0.91-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/freetds/freetds-0.91-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: freetds-0.91-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2014 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/freetds-0.91-r1.ebuild,v 1.1 2014/01/22 13:37:30 olemarkus Exp $ |
53 | |
54 | EAPI=4 |
55 | |
56 | inherit autotools eutils |
57 | |
58 | DESCRIPTION="Tabular Datastream Library" |
59 | HOMEPAGE="http://www.freetds.org/" |
60 | SRC_URI="http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/${P}.tar.gz" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos" |
65 | IUSE="kerberos odbc iodbc mssql" |
66 | RESTRICT="test" |
67 | |
68 | DEPEND=" |
69 | iodbc? ( dev-db/libiodbc ) |
70 | kerberos? ( virtual/krb5 ) |
71 | odbc? ( dev-db/unixODBC )" |
72 | RDEPEND="${DEPEND}" |
73 | |
74 | src_prepare() { |
75 | config_rpath_update |
76 | sed -ie 's:with_iodbc/include":with_iodbc/include/iodbc":' configure.ac || die |
77 | epatch ${FILESDIR}/freetds-0.91-fix_field_aliases.patch |
78 | eautoreconf |
79 | } |
80 | |
81 | src_configure() { |
82 | local myconf="--with-tdsver=7.0 $(use_enable mssql msdblib)" |
83 | |
84 | if use iodbc ; then |
85 | myconf="${myconf} --enable-odbc --with-iodbc=${EPREFIX}/usr" |
86 | elif use odbc ; then |
87 | myconf="${myconf} --enable-odbc --with-unixodbc=${EPREFIX}/usr" |
88 | fi |
89 | if use kerberos ; then |
90 | myconf="${myconf} --enable-krb5" |
91 | fi |
92 | |
93 | econf ${myconf} |
94 | } |
95 | |
96 | src_install() { |
97 | emake DESTDIR="${D}" DOCDIR="doc/${PF}" install |
98 | } |