summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-01-05 14:40:08 +0100
committerKarel Kočí <cynerd@email.cz>2019-01-05 14:40:08 +0100
commitfd3f7eff2426415d7800f703250ddd95ba40a4af (patch)
treebcc8cc06584caf83c6d00327a75f8474f52fdd7c /dev-libs
parenta89da3cf3269fe720770216df6ee5a78e538046b (diff)
downloadgentoo-personal-overlay-fd3f7eff2426415d7800f703250ddd95ba40a4af.tar.gz
gentoo-personal-overlay-fd3f7eff2426415d7800f703250ddd95ba40a4af.tar.bz2
gentoo-personal-overlay-fd3f7eff2426415d7800f703250ddd95ba40a4af.zip
dev-libs/openssl: add warning about versioned symbols disable
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openssl/openssl-1.0.2q-r1.ebuild6
-rw-r--r--dev-libs/openssl/openssl-1.0.2q-r201.ebuild6
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/openssl/openssl-1.0.2q-r1.ebuild b/dev-libs/openssl/openssl-1.0.2q-r1.ebuild
index b61589b..b86b3b6 100644
--- a/dev-libs/openssl/openssl-1.0.2q-r1.ebuild
+++ b/dev-libs/openssl/openssl-1.0.2q-r1.ebuild
@@ -67,6 +67,12 @@ MULTILIB_WRAPPED_HEADERS=(
usr/include/openssl/opensslconf.h
)
+pkg_pretend() {
+ if has_version "dev-libs/openssl:0[versioned]" && ! use versioned; then
+ eerror "You are disabling versioned symbols because of that you have to rebuild all packages depending on OpenSSL!"
+ fi
+}
+
src_prepare() {
if use bindist; then
# This just removes the prefix, and puts it into WORKDIR like the RPM.
diff --git a/dev-libs/openssl/openssl-1.0.2q-r201.ebuild b/dev-libs/openssl/openssl-1.0.2q-r201.ebuild
index f360957..174db51 100644
--- a/dev-libs/openssl/openssl-1.0.2q-r201.ebuild
+++ b/dev-libs/openssl/openssl-1.0.2q-r201.ebuild
@@ -72,6 +72,12 @@ MULTILIB_WRAPPED_HEADERS=(
usr/include/openssl/opensslconf.h
)
+pkg_pretend() {
+ if has_version "dev-libs/openssl:0[versioned]" && ! use versioned; then
+ eerror "You are disabling versioned symbols because of that you have to rebuild all packages depending on OpenSSL!"
+ fi
+}
+
src_prepare() {
if use bindist; then
# This just removes the prefix, and puts it into WORKDIR like the RPM.