summaryrefslogtreecommitdiff
path: root/dev-db/mysql++/mysql++-3.2.3.ebuild
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-08-28 13:07:15 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-08-28 13:17:27 +0200
commit87e7e6df5ae6de8f783a101c41571e9208b0dcd4 (patch)
tree55f1dbff4cf56779739118ecd45a79751650bb81 /dev-db/mysql++/mysql++-3.2.3.ebuild
parentcb9928afbcdc233ba2f199e1ccb4335c71288933 (diff)
downloadgentoo-87e7e6df5ae6de8f783a101c41571e9208b0dcd4.tar.gz
gentoo-87e7e6df5ae6de8f783a101c41571e9208b0dcd4.tar.bz2
gentoo-87e7e6df5ae6de8f783a101c41571e9208b0dcd4.zip
dev-db/mysql++: rev bump to ease migration to dev-db/mysql-connector-c
Commit 9a7a60296b1685847c0c3c463de532a4245d4c11 replaced virtual/libmysqlclient dependency with dev-db/mysql-connector-c atom without a rev bump. To avoid unecessary user interaction for users not using emerge's --changed-deps=y because we are already pushing towards removal of virtual/libmysqlclient (see commit 08b83d736f77fd5dffa9cd5f6b1b44771726ce94), this commit will now force the re-installation through rev bump to ease migration. Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/mysql++/mysql++-3.2.3.ebuild')
-rw-r--r--dev-db/mysql++/mysql++-3.2.3.ebuild55
1 files changed, 0 insertions, 55 deletions
diff --git a/dev-db/mysql++/mysql++-3.2.3.ebuild b/dev-db/mysql++/mysql++-3.2.3.ebuild
deleted file mode 100644
index 28038bb90723..000000000000
--- a/dev-db/mysql++/mysql++-3.2.3.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools libtool flag-o-matic
-
-DESCRIPTION="C++ API interface to the MySQL database"
-HOMEPAGE="http://tangentsoft.net/mysql++/"
-SRC_URI="http://www.tangentsoft.net/mysqlpp/releases/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0/3"
-KEYWORDS="alpha amd64 hppa ~mips ppc sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc"
-
-RDEPEND="dev-db/mysql-connector-c:="
-DEPEND="${RDEPEND}"
-DOCS=( CREDITS.txt HACKERS.txt Wishlist doc/ssqls-pretty )
-PATCHES=(
- "${FILESDIR}"/${PN}-3.2.1-gold.patch
- "${FILESDIR}"/${PN}-3.2.3-mariadb-10.2.patch
- "${FILESDIR}"/${PN}-3.2.3-as-needed.patch
-)
-
-src_prepare() {
- # Bug filed upstream about deprecated std::auto_ptr
- append-cxxflags $(test-flags-CXX -Wno-deprecated-declarations)
- # Bad symlink for libtool in the archive
- rm "${S}/ltmain.sh" || die
-
- default
-
- _elibtoolize --auto-ltdl --install --copy --force
- elibtoolize
- # Current MySQL libraries are always with threads and slowly being removed
- sed -i -e "s/mysqlclient_r/mysqlclient/" "${S}/configure" || die
- rm "${S}/doc/"README-*-RPM.txt || die
-}
-
-src_configure() {
- local myconf=(
- --enable-thread-check
- --with-mysql="${EPREFIX}/usr"
- --with-mysql-lib="${EPREFIX}$(mysql_config --variable=pkglibdir)"
- --with-mysql-include="${EPREFIX}$(mysql_config --variable=pkgincludedir)"
- )
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
- # install the docs and HTML pages
- use doc && dodoc -r doc/pdf/ doc/refman/ doc/userman/ doc/html/
-}