xapian: fix references to $libDir where $developLibDir should be used

using the fixed `fixCMake` scriptlet

remove the now unneeded library symlink
This commit is contained in:
Joachim Mairböck
2024-04-27 14:49:18 +02:00
parent c7948a72c5
commit 20fcab5132

View File

@@ -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="1"
REVISION="2"
SOURCE_URI="https://oligarchy.co.uk/xapian/$portVersion/xapian-core-$portVersion.tar.xz"
CHECKSUM_SHA256="0c99dfdd817571cb5689bc412a7e021407938313f38ea3a70fa3bf86410608ee"
SOURCE_DIR="xapian-core-$portVersion"
@@ -110,16 +110,17 @@ INSTALL()
prepareInstalledDevelLib libxapian
fixPkgconfig
fixCMake
ln -sf $libDir/libxapian.so.$libVersion $libDir/libxapian.so
# fix xapian-config
sed -i "s,$libDir,$developLibDir,g" "$commandBinDir"/xapian-config
packageEntries devel \
"$commandBinDir"/xapian-config \
"$manDir"/man1/xapian-config.1 \
"$developDir" \
"$dataDir" \
"$documentationDir/packages" \
"$libDir"/cmake
"$documentationDir/packages"
packageEntries tools \
"$commandBinDir" \