mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
xapian: add workarounds for outdated haikuporter versions
The fixCMake scriptlet had some bugs until recently, and the builders aren't updated yet.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user