From 6d33b5ffe215e4a5e3027be6af89525ff0f30e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 21 Aug 2019 17:47:05 +0200 Subject: [PATCH] fontconfig: util_linux not available for x86_gcc2 --- media-libs/fontconfig/fontconfig-2.13.1.recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-libs/fontconfig/fontconfig-2.13.1.recipe b/media-libs/fontconfig/fontconfig-2.13.1.recipe index 35b1cc4e6..cc055ca0b 100644 --- a/media-libs/fontconfig/fontconfig-2.13.1.recipe +++ b/media-libs/fontconfig/fontconfig-2.13.1.recipe @@ -8,7 +8,7 @@ COPYRIGHT="2000-2005, 2006-2007 Keith Packard 2008 Danilo Segan 2012 Google, Inc." LICENSE="MIT" -REVISION="2" +REVISION="3" SOURCE_URI="https://www.freedesktop.org/software/fontconfig/release/fontconfig-$portVersion.tar.bz2" CHECKSUM_SHA256="f655dd2a986d7aa97e052261b36aa67b0a64989496361eca8d604e6414006741" PATCHES="fontconfig-$portVersion.patchset" @@ -62,13 +62,17 @@ REQUIRES_devel=" defineDebugInfoPackage fontconfig$secondaryArchSuffix \ $libDir/libfontconfig.so.$libVersion +libuuidVersionCompat="1.3" +if [ "$targetArchitecture" = x86_gcc2 ]; then + libuuidVersionCompat="1" +fi BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libbz2$secondaryArchSuffix devel:libfreetype$secondaryArchSuffix devel:libiconv$secondaryArchSuffix devel:libintl$secondaryArchSuffix - devel:libuuid$secondaryArchSuffix >= 1.3 + devel:libuuid$secondaryArchSuffix >= $libuuidVersionCompat devel:libxml2$secondaryArchSuffix devel:libz$secondaryArchSuffix "