Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 455838 Details for
Bug 602324
dev-db/mysql-connector-c++: add libressl support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild working on my sysntems
mysql-connector-c++-1.1.6.ebuild (text/plain), 1.53 KB, created by
Michelangelo Scopelliti
on 2016-12-11 11:47:58 UTC
(
hide
)
Description:
ebuild working on my sysntems
Filename:
MIME Type:
Creator:
Michelangelo Scopelliti
Created:
2016-12-11 11:47:58 UTC
Size:
1.53 KB
patch
obsolete
># Copyright 1999-2016 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >EAPI=5 > >inherit eutils cmake-utils flag-o-matic multilib > >DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)" >HOMEPAGE="http://dev.mysql.com/downloads/connector/cpp/" >URI_DIR="Connector-C++" >SRC_URI="mirror://mysql/Downloads/${URI_DIR}/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 arm ppc ppc64 sparc x86" >IUSE="debug examples gcov static-libs" > >DEPEND="virtual/libmysqlclient:= > dev-libs/boost:= > || ( dev-libs/openssl:0= dev-libs/libressl )" >RDEPEND="${DEPEND}" > >PATCHES=( > "${FILESDIR}/${PN}-1.1.6-fix-cmake.patch" > "${FILESDIR}/${PN}-1.1.5-fix-mariadb.patch" >) > >src_configure() { > # native lib/wrapper needs this! > append-flags "-fno-strict-aliasing" > > local mycmakeargs=( > -DMYSQLCPPCONN_BUILD_EXAMPLES=OFF > -DMYSQLCPPCONN_ICU_ENABLE=OFF > $(cmake-utils_use debug MYSQLCPPCONN_TRACE_ENABLE) > $(cmake-utils_use gcov MYSQLCPPCONN_GCOV_ENABLE) > -DINSTALL_DOCS="/usr/share/doc/${PF}" > -DMYSQL_CXX_LINKAGE=0 > -DMYSQL_INCLUDE_DIR=$(mysql_config --variable=pkgincludedir) > ) > > cmake-utils_src_configure >} > >src_install() { > cmake-utils_src_install > > # static lib has wrong name so we need to rename it > if use static-libs; then > mv "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a \ > "${ED}"/usr/$(get_libdir)/libmysqlcppconn.a || die > else > rm -f "${ED}"/usr/$(get_libdir)/libmysqlcppconn-static.a > fi > > # examples > if use examples; then > insinto /usr/share/doc/${PF}/examples > doins "${S}"/examples/* > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 602324
: 455838 |
455862
|
455940