www-apps/rt: fix loading of Date::Manip w/ Factory TZ.

On machines where TZ=Factory, such as ones freshly rolled out from
gentoo install media, `use Date::Manip` fails.

This leads to a failure at configure and install time.

Ideally, end users will need to configure their machines properly.

But their Timezone being right should have no bearing on the ability
to build this package.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5795
This commit is contained in:
Kent Fredric
2017-09-27 06:32:25 +13:00
committed by Patrice Clement
parent 6e2c3392fa
commit 46613dd254
2 changed files with 10 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -231,6 +231,10 @@ src_configure() {
web="apache"
depsconf+=" --with-MODPERL2"
fi
# Any loading Date::Manip from here on
# may fail if TZ=Factory as it is on gentoo install
# media ( affects install as well )
export TZ=UTC
./configure --enable-layout=Gentoo \
--with-bin-owner=rt \

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -236,6 +236,10 @@ src_configure() {
web="apache"
depsconf+=" --with-MODPERL2"
fi
# Any loading Date::Manip from here on
# may fail if TZ=Factory as it is on gentoo install
# media ( affects install as well )
export TZ=UTC
./configure --enable-layout=Gentoo \
--with-bin-owner=rt \