diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-05-07 20:55:28 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-05-07 20:55:51 +0200 |
commit | a73276e17c8718924577f566fa2a5bebc89c50d2 (patch) | |
tree | d90a01eda7dd4d791132b7c6269f498aafacfc8f /app-arch | |
parent | dev-python/hypothesis: Bump to 5.11.0 (diff) | |
download | gentoo-a73276e17c8718924577f566fa2a5bebc89c50d2.tar.gz gentoo-a73276e17c8718924577f566fa2a5bebc89c50d2.tar.bz2 gentoo-a73276e17c8718924577f566fa2a5bebc89c50d2.zip |
app-arch/xz-utils: workaround upstream Solaris hacks
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.2.5.ebuild | 6 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/xz-utils/xz-utils-5.2.5.ebuild b/app-arch/xz-utils/xz-utils-5.2.5.ebuild index e129349a96fc..cae7bc97c8e9 100644 --- a/app-arch/xz-utils/xz-utils-5.2.5.ebuild +++ b/app-arch/xz-utils/xz-utils-5.2.5.ebuild @@ -67,6 +67,12 @@ multilib_src_configure() { ) fi + if [[ ${CHOST} == *-solaris* ]] ; then + # undo Solaris-based defaults pointing to /usr/xpg5/bin + myconf+=( --disable-path-for-script ) + export gl_cv_posix_shell=${EPREFIX}/bin/sh + fi + use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714 ECONF_SOURCE="${S}" econf "${myconf[@]}" } diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild index e129349a96fc..cae7bc97c8e9 100644 --- a/app-arch/xz-utils/xz-utils-9999.ebuild +++ b/app-arch/xz-utils/xz-utils-9999.ebuild @@ -67,6 +67,12 @@ multilib_src_configure() { ) fi + if [[ ${CHOST} == *-solaris* ]] ; then + # undo Solaris-based defaults pointing to /usr/xpg5/bin + myconf+=( --disable-path-for-script ) + export gl_cv_posix_shell=${EPREFIX}/bin/sh + fi + use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714 ECONF_SOURCE="${S}" econf "${myconf[@]}" } |