media-libs/fontconfig: add back gperf workaround for bug #631980
authorFabian Groffen <grobian@gentoo.org>
Mon, 2 Oct 2017 07:00:01 +0000 (09:00 +0200)
committerFabian Groffen <grobian@gentoo.org>
Mon, 2 Oct 2017 07:00:01 +0000 (09:00 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.1

media-libs/fontconfig/fontconfig-2.12.6.ebuild

index e1a756f344f59e1ab21bd0f99d5f4559e2685f78..7da223b1f2ceb064015bbf6f1f14f81ccbfa3a98 100644 (file)
@@ -42,14 +42,8 @@ pkg_setup() {
 
 src_prepare() {
        default
+       export GPERF=$(type -P true)  # avoid dependency on gperf, #631980
        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() {