Skip to content

Commit

Permalink
media-libs/fontconfig: fix build on Darwin
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.1
  • Loading branch information
grobian committed Sep 25, 2017
1 parent 6212041 commit e17457c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions media-libs/fontconfig/fontconfig-2.12.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ pkg_setup() {
src_prepare() {
default
eautoreconf

# this should be ok for everyone, but for safety I only apply it to
# the platform I need this for sure
if [[ ${CHOST} == *-darwin* ]] ; then
# https://bugs.freedesktop.org/show_bug.cgi?id=101280
rm src/fcobjshash.h src/fcobjshash.gperf
fi
}

multilib_src_configure() {
Expand Down

0 comments on commit e17457c

Please sign in to comment.