commit: c09686c7884b7093d06191c8f266ce10363cf002 Author: Matija Skala <mskala <AT> gmx <DOT> com> AuthorDate: Mon Sep 16 21:04:49 2019 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 18 08:35:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c09686c7
dev-libs/openssl: add hurd support Signed-off-by: Matija Skala <mskala <AT> gmx.com> Part-of: https://github.com/gentoo/gentoo/pull/12945 Closes: https://github.com/gentoo/gentoo/pull/12945 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/openssl-compat/files/gentoo.config-1.0.2 | 8 ++++++++ dev-libs/openssl-compat/files/gentoo.config-1.0.4 | 8 ++++++++ dev-libs/openssl/files/gentoo.config-1.0.2 | 8 ++++++++ dev-libs/openssl/files/gentoo.config-1.0.4 | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/dev-libs/openssl-compat/files/gentoo.config-1.0.2 b/dev-libs/openssl-compat/files/gentoo.config-1.0.2 index 0a5b2ae00908..6d4cd3112618 100644 --- a/dev-libs/openssl-compat/files/gentoo.config-1.0.2 +++ b/dev-libs/openssl-compat/files/gentoo.config-1.0.2 @@ -64,6 +64,7 @@ case ${CHOST} in *-winnt*) system="winnt";; x86_64-*-mingw*) system="mingw64";; *mingw*) system="mingw";; + *-gnu*) system="hurd";; *) exit 0;; esac @@ -162,6 +163,13 @@ mingw*) # special case ... no xxx-yyy style name echo ${system} ;; +hurd) + case ${chost_machine} in + i[0-9]86*) machine=x86;; + x86_64*) machine=x86_64;; + *) machine=generic32;; + esac + ;; esac diff --git a/dev-libs/openssl-compat/files/gentoo.config-1.0.4 b/dev-libs/openssl-compat/files/gentoo.config-1.0.4 index 573a97de3543..735ab493c577 100644 --- a/dev-libs/openssl-compat/files/gentoo.config-1.0.4 +++ b/dev-libs/openssl-compat/files/gentoo.config-1.0.4 @@ -64,6 +64,7 @@ case ${CHOST} in *-winnt*) system="winnt";; x86_64-*-mingw*) system="mingw64";; *mingw*) system="mingw";; + *-gnu*) system="hurd";; *) exit 0;; esac @@ -169,6 +170,13 @@ mingw*) # special case ... no xxx-yyy style name echo ${system} ;; +hurd) + case ${chost_machine} in + i[0-9]86*) machine=x86;; + x86_64*) machine=x86_64;; + *) machine=generic32;; + esac + ;; esac diff --git a/dev-libs/openssl/files/gentoo.config-1.0.2 b/dev-libs/openssl/files/gentoo.config-1.0.2 index caa569588f3c..66a8b3681708 100644 --- a/dev-libs/openssl/files/gentoo.config-1.0.2 +++ b/dev-libs/openssl/files/gentoo.config-1.0.2 @@ -64,6 +64,7 @@ case ${CHOST} in *-winnt*) system="winnt";; x86_64-*-mingw*) system="mingw64";; *mingw*) system="mingw";; + *-gnu*) system="hurd";; *) exit 0;; esac @@ -165,6 +166,13 @@ mingw*) # special case ... no xxx-yyy style name echo ${system} ;; +hurd) + case ${chost_machine} in + i[0-9]86*) machine=x86;; + x86_64*) machine=x86_64;; + *) machine=generic32;; + esac + ;; esac diff --git a/dev-libs/openssl/files/gentoo.config-1.0.4 b/dev-libs/openssl/files/gentoo.config-1.0.4 index d32ce877a34a..7754d9e5aaf8 100644 --- a/dev-libs/openssl/files/gentoo.config-1.0.4 +++ b/dev-libs/openssl/files/gentoo.config-1.0.4 @@ -65,6 +65,7 @@ case ${CHOST} in *-winnt*) system="winnt";; x86_64-*-mingw*) system="mingw64";; *mingw*) system="mingw";; + *-gnu*) system="hurd";; *) exit 0;; esac @@ -179,6 +180,13 @@ mingw*) # special case ... no xxx-yyy style name echo ${system} ;; +hurd) + case ${chost_machine} in + i[0-9]86*) machine=x86;; + x86_64*) machine=x86_64;; + *) machine=generic32;; + esac + ;; esac
