Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mysql++: mysql++-3.1.0.ebuild ChangeLog
Date: Mon, 04 Mar 2013 20:23:35
Message-Id: 20130304202331.227EB2171E@flycatcher.gentoo.org
1 robbat2 13/03/04 20:23:31
2
3 Modified: ChangeLog
4 Added: mysql++-3.1.0.ebuild
5 Log:
6 Bump from Brian Evans <grknight@×××××××.com>, fixes bugs: #357105 #378921 #416553 #421903 #440996.
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.63 dev-db/mysql++/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql++/ChangeLog?rev=1.63&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql++/ChangeLog?rev=1.63&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql++/ChangeLog?r1=1.62&r2=1.63
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v
20 retrieving revision 1.62
21 retrieving revision 1.63
22 diff -p -w -b -B -u -u -r1.62 -r1.63
23 --- ChangeLog 23 Dec 2009 15:37:48 -0000 1.62
24 +++ ChangeLog 4 Mar 2013 20:23:30 -0000 1.63
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-db/mysql++
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v 1.62 2009/12/23 15:37:48 grobian Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/ChangeLog,v 1.63 2013/03/04 20:23:30 robbat2 Exp $
31 +
32 +*mysql++-3.1.0 (04 Mar 2013)
33 +
34 + 04 Mar 2013; Robin H. Johnson <robbat2@g.o>
35 + +files/mysql++-3.0-gcc-as-needed.patch, +mysql++-3.1.0.ebuild:
36 + Bump from Brian Evans <grknight@×××××××.com>, fixes bugs: #357105 #378921
37 + #416553 #421903 #440996.
38
39 23 Dec 2009; Fabian Groffen <grobian@g.o> mysql++-3.0.9.ebuild:
40 Fix for Prefix, marked ~amd64-linux and ~ppc-macos, bug #294611
41
42
43
44 1.1 dev-db/mysql++/mysql++-3.1.0.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql++/mysql++-3.1.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql++/mysql++-3.1.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mysql++-3.1.0.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-3.1.0.ebuild,v 1.1 2013/03/04 20:23:30 robbat2 Exp $
54
55 EAPI="5"
56
57 inherit eutils
58
59 DESCRIPTION="C++ API interface to the MySQL database"
60 HOMEPAGE="http://tangentsoft.net/mysql++/"
61 SRC_URI="http://www.tangentsoft.net/mysql++/releases/${P}.tar.gz"
62
63 LICENSE="LGPL-2"
64 SLOT="0/3"
65 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
66 IUSE=""
67
68 RDEPEND=">=virtual/mysql-4.0"
69 DEPEND="${RDEPEND}
70 || ( >=sys-devel/gcc-3 >=sys-devel/gcc-apple-4 )"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${PN}-3.0-gcc-as-needed.patch
74
75 for i in "${S}"/lib/*.h ; do
76 sed -i \
77 -e '/#include </s,mysql.h,mysql/mysql.h,g' \
78 -e '/#include </s,mysql_version.h,mysql/mysql_version.h,g' \
79 "${i}"
80 done
81 epatch_user
82 }
83
84 src_configure() {
85 local myconf
86 use prefix || local EPREFIX=
87 myconf="--enable-thread-check --with-mysql=${EPREFIX}/usr"
88
89 CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
90 econf ${myconf}
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install
95 # install the docs and HTML pages
96 dodoc README* CREDITS* ChangeLog HACKERS.txt Wishlist doc/ssqls-pretty
97 dodoc -r doc/pdf/ doc/refman/ doc/userman/
98 dohtml -r doc/html/
99 }