From f173593675a532f8ac67fc7678d80e4c7d97f19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sat, 27 Apr 2024 15:26:18 +0200 Subject: [PATCH] xapian: add workarounds for outdated haikuporter versions The fixCMake scriptlet had some bugs until recently, and the builders aren't updated yet. --- dev-libs/xapian/xapian-1.4.25.recipe | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-libs/xapian/xapian-1.4.25.recipe b/dev-libs/xapian/xapian-1.4.25.recipe index 349c7e6cd..6bdab8440 100644 --- a/dev-libs/xapian/xapian-1.4.25.recipe +++ b/dev-libs/xapian/xapian-1.4.25.recipe @@ -8,7 +8,7 @@ native Unicode support and modern search algorithms." HOMEPAGE="https://xapian.org/" COPYRIGHT="1999-2018 The Xapian Authors" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="https://oligarchy.co.uk/xapian/$portVersion/xapian-core-$portVersion.tar.xz" CHECKSUM_SHA256="0c99dfdd817571cb5689bc412a7e021407938313f38ea3a70fa3bf86410608ee" SOURCE_DIR="xapian-core-$portVersion" @@ -81,6 +81,7 @@ BUILD_PREREQUIRES=" cmd:awk cmd:cmp cmd:diff + cmd:find # workaround for outdated haikuporter cmd:gcc$secondaryArchSuffix cmd:make cmd:sed @@ -113,7 +114,8 @@ INSTALL() fixCMake # fix xapian-config - sed -i "s,$libDir,$developLibDir,g" "$commandBinDir"/xapian-config + sed -i "s,$libDir,$developLibDir,g" "$commandBinDir"/xapian-config \ + $developLibDir/cmake/xapian/xapian-config.cmake # workaround for outdated haikuporter packageEntries devel \ "$commandBinDir"/xapian-config \