From 5b7a3b0f83668f4519cda92e9195c2abe0ce44e0 Mon Sep 17 00:00:00 2001 From: David Michael Date: Sun, 27 Jun 2021 10:15:58 -0400 Subject: sys-libs/timezone-data: fix invalid WORKDIR when cross-compiling Closes: https://bugs.gentoo.org/798918 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: David Michael Signed-off-by: Mike Gilbert --- sys-libs/timezone-data/timezone-data-2021a-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys-libs') diff --git a/sys-libs/timezone-data/timezone-data-2021a-r1.ebuild b/sys-libs/timezone-data/timezone-data-2021a-r1.ebuild index e103ef29df6b..b6782069d7c5 100644 --- a/sys-libs/timezone-data/timezone-data-2021a-r1.ebuild +++ b/sys-libs/timezone-data/timezone-data-2021a-r1.ebuild @@ -21,7 +21,10 @@ DEPEND="nls? ( virtual/libintl )" RDEPEND="${DEPEND} !sys-libs/glibc[vanilla(+)]" -S=${WORKDIR} +src_unpack() { + mkdir -p "${S}" && cd "${S}" || die + default +} src_prepare() { default -- cgit v1.2.3-65-gdbad