media-libs/harfbuzz: Fix build issues with XDG vars also in stable

Package-Manager: portage-2.2.27
This commit is contained in:
Pacho Ramos
2016-02-28 11:44:07 +01:00
parent 6f1dfe93aa
commit 182bf1f7b8
3 changed files with 7 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
PYTHON_COMPAT=( python2_7 )
inherit eutils libtool multilib-minimal python-any-r1
inherit eutils libtool multilib-minimal python-any-r1 xdg-utils
DESCRIPTION="An OpenType text shaping engine"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
@@ -49,6 +49,8 @@ pkg_setup() {
}
src_prepare() {
xdg_environment_reset
if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
# on Darwin/Solaris we need to link with g++, like automake defaults
# to, but overridden by upstream because on Linux this is not

View File

@@ -51,6 +51,8 @@ pkg_setup() {
src_prepare() {
default
xdg_environment_reset
if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
# on Darwin/Solaris we need to link with g++, like automake defaults
# to, but overridden by upstream because on Linux this is not
@@ -74,7 +76,6 @@ src_prepare() {
}
multilib_src_configure() {
xdg_environment_reset
ECONF_SOURCE="${S}" \
# harfbuzz-gobject only used for instrospection, bug #535852
econf \

View File

@@ -51,6 +51,8 @@ pkg_setup() {
src_prepare() {
default
xdg_environment_reset
if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
# on Darwin/Solaris we need to link with g++, like automake defaults
# to, but overridden by upstream because on Linux this is not
@@ -74,7 +76,6 @@ src_prepare() {
}
multilib_src_configure() {
xdg_environment_reset
ECONF_SOURCE="${S}" \
# harfbuzz-gobject only used for instrospection, bug #535852
econf \