From fd3f7eff2426415d7800f703250ddd95ba40a4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 5 Jan 2019 14:40:08 +0100 Subject: dev-libs/openssl: add warning about versioned symbols disable --- dev-libs/openssl/openssl-1.0.2q-r1.ebuild | 6 ++++++ dev-libs/openssl/openssl-1.0.2q-r201.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) 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. -- cgit v1.2.3