summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2021-06-27 10:15:58 -0400
committerMike Gilbert <floppym@gentoo.org>2021-06-30 14:48:52 -0400
commit5b7a3b0f83668f4519cda92e9195c2abe0ce44e0 (patch)
treef7b0fefbb6dfbcb5a275267d1c97be249ecc3617 /sys-libs/timezone-data
parentsys-kernel/gentoo-sources: Linux patch updates (diff)
downloadgentoo-5b7a3b0f83668f4519cda92e9195c2abe0ce44e0.tar.gz
gentoo-5b7a3b0f83668f4519cda92e9195c2abe0ce44e0.tar.bz2
gentoo-5b7a3b0f83668f4519cda92e9195c2abe0ce44e0.zip
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 <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs/timezone-data')
-rw-r--r--sys-libs/timezone-data/timezone-data-2021a-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
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