dev-libs/xerces-c: support Prefix.

Prefixify the environment variable XERCESC_NLS_HOME.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Benda Xu
2018-06-15 10:40:14 +09:00
parent 22853767e2
commit a247ad2c6f

View File

@@ -1,12 +1,12 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
inherit autotools prefix
DESCRIPTION="A validating XML parser written in a portable subset of C++"
HOMEPAGE="http://xerces.apache.org/xerces-c/"
HOMEPAGE="https://xerces.apache.org/xerces-c/"
SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz"
LICENSE="Apache-2.0"
@@ -111,6 +111,6 @@ src_install () {
# To make sure an appropriate NLS msg file is around when using
# the iconv msgloader ICU has the messages compiled in.
if use iconv && ! use icu; then
doenvd "${FILESDIR}/50xerces-c"
doenvd "$(prefixify_ro "${FILESDIR}/50xerces-c")"
fi
}