dev-libs/xerces-c: support Prefix.
authorBenda Xu <heroxbd@gentoo.org>
Fri, 15 Jun 2018 01:40:14 +0000 (10:40 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Fri, 15 Jun 2018 01:40:39 +0000 (10:40 +0900)
  Prefixify the environment variable XERCESC_NLS_HOME.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild

index fb393626069d025fd72ebb45e9a7449611bb3a58..7ccfabeb38f0eb1b0a2ba828f135dfd3d91b036a 100644 (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
 }