diff options
author | Sam James <sam@gentoo.org> | 2023-05-27 18:07:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-29 19:18:39 +0100 |
commit | e0b85278ca9ea2108778501caab9332970d38973 (patch) | |
tree | 883366b412623267bc8d3def057043d6ca8e0064 /app-crypt | |
parent | app-crypt/johntheripper: drop dead prefix targets (diff) | |
download | gentoo-e0b85278ca9ea2108778501caab9332970d38973.tar.gz gentoo-e0b85278ca9ea2108778501caab9332970d38973.tar.bz2 gentoo-e0b85278ca9ea2108778501caab9332970d38973.zip |
app-crypt/p11-kit: drop dead prefix targets
The removal was already done, so this is just cleanup afterwards.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/p11-kit/p11-kit-0.23.22.ebuild | 16 | ||||
-rw-r--r-- | app-crypt/p11-kit/p11-kit-0.24.1-r1.ebuild | 11 |
2 files changed, 1 insertions, 26 deletions
diff --git a/app-crypt/p11-kit/p11-kit-0.23.22.ebuild b/app-crypt/p11-kit/p11-kit-0.23.22.ebuild index b18247054250..fdc123c2b489 100644 --- a/app-crypt/p11-kit/p11-kit-0.23.22.ebuild +++ b/app-crypt/p11-kit/p11-kit-0.23.22.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,20 +27,6 @@ pkg_setup() { export FAKED_MODE=1 } -src_prepare() { - if [[ ${CHOST} == *-solaris2.* && ${CHOST##*-solaris2.} -lt 11 ]] ; then - # Solaris 10 and before doesn't know about XPG7 (XOPEN_SOURCE=700) - # drop to XPG6 to make feature_tests.h happy - sed -i -e '/define _XOPEN_SOURCE/s/700/600/' common/compat.c || die - # paths.h isn't available, oddly enough also not used albeit included - sed -i -e '/#include <paths.h>/d' trust/test-trust.c || die - # we don't have SUN_LEN here - sed -i -e 's/SUN_LEN \(([^)]\+)\)/strlen (\1->sun_path)/' \ - p11-kit/server.c || die - fi - default -} - multilib_src_configure() { ECONF_SOURCE="${S}" econf \ $(use_enable trust trust-module) \ diff --git a/app-crypt/p11-kit/p11-kit-0.24.1-r1.ebuild b/app-crypt/p11-kit/p11-kit-0.24.1-r1.ebuild index 640eaa855703..b7d9c1025d7f 100644 --- a/app-crypt/p11-kit/p11-kit-0.24.1-r1.ebuild +++ b/app-crypt/p11-kit/p11-kit-0.24.1-r1.ebuild @@ -33,17 +33,6 @@ pkg_setup() { } src_prepare() { - if [[ ${CHOST} == *-solaris2.* && ${CHOST##*-solaris2.} -lt 11 ]] ; then - # Solaris 10 and before doesn't know about XPG7 (XOPEN_SOURCE=700) - # drop to XPG6 to make feature_tests.h happy - sed -i -e '/define _XOPEN_SOURCE/s/700/600/' common/compat.c || die - # paths.h isn't available, oddly enough also not used albeit included - sed -i -e '/#include <paths.h>/d' trust/test-trust.c || die - # we don't have SUN_LEN here - sed -i -e 's/SUN_LEN \(([^)]\+)\)/strlen (\1->sun_path)/' \ - p11-kit/server.c || die - fi - default # TODO: drop in next release (after 0.24.1), p11-kit-0.24.1-configure-clang16.patch is emrged eautoreconf |