mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
media-libs/harfbuzz: Fix build issues with XDG vars also in stable
Package-Manager: portage-2.2.27
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user