summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.