summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-18 13:57:41 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-18 13:58:10 +0000
commit9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4 (patch)
treed19a1f7791d7146f4fa409af4e57c7e4ae1e6a95 /dev-db/libzdb
parentapp-text/asciidoc: make optfeature readable (diff)
downloadgentoo-9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4.tar.gz
gentoo-9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4.tar.bz2
gentoo-9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4.zip
dev-db/libzdb: drop lexicographical comparison, bug #705244
Closes: https://bugs.gentoo.org/705244 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-db/libzdb')
-rw-r--r--dev-db/libzdb/libzdb-3.1-r1.ebuild9
-rw-r--r--dev-db/libzdb/libzdb-3.1.ebuild9
2 files changed, 6 insertions, 12 deletions
diff --git a/dev-db/libzdb/libzdb-3.1-r1.ebuild b/dev-db/libzdb/libzdb-3.1-r1.ebuild
index 13b086bcda58..b3ba017bb1ad 100644
--- a/dev-db/libzdb/libzdb-3.1-r1.ebuild
+++ b/dev-db/libzdb/libzdb-3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -36,11 +36,8 @@ src_configure() {
## TODO: check what --enable-optimized actually does
## TODO: find someone with oracle db to add oci8 support
myconf=""
- if [[ $(gcc-version) < 4.1 ]];then
- myconf="${myconf} --disable-protected"
- else
- myconf="${myconf} --enable-protected"
- fi
+ # enable default hidden visibility
+ myconf="${myconf} --enable-protected"
if use sqlite; then
myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock"
diff --git a/dev-db/libzdb/libzdb-3.1.ebuild b/dev-db/libzdb/libzdb-3.1.ebuild
index 21ce5f4ef1c1..caa64e3ef38f 100644
--- a/dev-db/libzdb/libzdb-3.1.ebuild
+++ b/dev-db/libzdb/libzdb-3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -33,11 +33,8 @@ src_configure() {
## TODO: check what --enable-optimized actually does
## TODO: find someone with oracle db to add oci8 support
myconf=""
- if [[ $(gcc-version) < 4.1 ]];then
- myconf="${myconf} --disable-protected"
- else
- myconf="${myconf} --enable-protected"
- fi
+ # enable default hidden visibility
+ myconf="${myconf} --enable-protected"
if use sqlite; then
myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock"