summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-03-27 08:50:38 -0400
committerBrian Evans <grknight@gentoo.org>2018-03-27 08:50:38 -0400
commitd3ecd1e5d0d45f9356367f294da2039449436738 (patch)
treea0dd3eaa38bb70d5fe0937b2e2dc81a06c9a3e98 /dev-db
parentpackage.mask: Masked icu-61.1 until revdeps have been fixed. (diff)
downloadgentoo-d3ecd1e5d0d45f9356367f294da2039449436738.tar.gz
gentoo-d3ecd1e5d0d45f9356367f294da2039449436738.tar.bz2
gentoo-d3ecd1e5d0d45f9356367f294da2039449436738.zip
dev-db/myodbc: Drop patch that was integrated upstream
Closes: https://bugs.gentoo.org/651386 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/myodbc/myodbc-5.3.10-r2.ebuild (renamed from dev-db/myodbc/myodbc-5.3.10-r1.ebuild)16
1 files changed, 1 insertions, 15 deletions
diff --git a/dev-db/myodbc/myodbc-5.3.10-r1.ebuild b/dev-db/myodbc/myodbc-5.3.10-r2.ebuild
index 5aeb327fb5b1..62d7f9d9034e 100644
--- a/dev-db/myodbc/myodbc-5.3.10-r1.ebuild
+++ b/dev-db/myodbc/myodbc-5.3.10-r2.ebuild
@@ -41,39 +41,25 @@ DRIVER_NAME="${PN}-${SLOT}"
PATCHES=(
"${FILESDIR}/${MAJOR}-cmake-doc-path.patch"
"${FILESDIR}/5.3.10-cxxlinkage.patch"
-# "${FILESDIR}/${MAJOR}-mariadb-dynamic-array.patch"
- "${FILESDIR}/5.2.7-my_malloc.patch"
"${FILESDIR}/5.3.10-mariadb.patch"
)
src_prepare() {
- # Fix undefined references due to standards change
-# append-cflags -std=gnu89
-
# Remove Tests
sed -i -e "s/ADD_SUBDIRECTORY(test)//" \
"${S}/CMakeLists.txt"
# Fix as-needed on the installer binary
- echo "TARGET_LINK_LIBRARIES(myodbc-installer odbc)" >> "${S}/installer/CMakeLists.txt"
+# echo "TARGET_LINK_LIBRARIES(myodbc-installer odbc)" >> "${S}/installer/CMakeLists.txt"
cmake-utils_src_prepare
}
multilib_src_configure() {
-# local clientlib
-# for clientlib in "mariadb" "perconaclient" "mysqlclient" "notfound" ; do
-# [[ -x "${EPREFIX}/usr/$(get_libdir)/lib${clientlib}.so" ]] && break
-# done
-# [[ "${clientlib}x" == "notfoundx" ]] && \
-# die "Installed client library name could not be determined"
-
# MYSQL_CXX_LINKAGE expects "mysql_config --cxxflags" which doesn't exist on MariaDB
mycmakeargs+=(
-DMYSQL_CXX_LINKAGE=0
-DWITH_UNIXODBC=1
-# -DMYSQLCLIENT_LIB_NAME="${clientlib}"
-# -DMYSQLCLIENT_LIB_NAME="mysqlclient"
-DWITH_DOCUMENTATION_INSTALL_PATH=/usr/share/doc/${PF}
-DMYSQL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"
-DLIB_SUBDIR="$(get_libdir)/${PN}-${MAJOR}"