Skip to content

Commit

Permalink
dev-libs/xerces-c: support Prefix.
Browse files Browse the repository at this point in the history
  Prefixify the environment variable XERCESC_NLS_HOME.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
  • Loading branch information
heroxbd committed Jun 15, 2018
1 parent 2285376 commit a247ad2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit a247ad2

Please sign in to comment.