From 0d87b44d1d4c50f3e0b85ad7eef593fb77946afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sun, 26 Oct 2025 21:37:58 +0100 Subject: [PATCH] hunspell: fix build, move commands to $prefix/bin --- app-text/hunspell/hunspell-1.7.2.recipe | 31 +++++++++++++------------ 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/app-text/hunspell/hunspell-1.7.2.recipe b/app-text/hunspell/hunspell-1.7.2.recipe index 12a25999b..3bf7e2619 100644 --- a/app-text/hunspell/hunspell-1.7.2.recipe +++ b/app-text/hunspell/hunspell-1.7.2.recipe @@ -9,7 +9,7 @@ COPYRIGHT="2007-2016 Hunspell developers et al. LICENSE="GNU GPL v2 GNU LGPL v2.1 MPL v1.1" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/hunspell/hunspell/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="69fa312d3586c988789266eaf7ffc9861d9f6396c31fc930a014d551b59bbd6e" SOURCE_FILENAME="hunspell-$portVersion.tar.gz" @@ -20,18 +20,18 @@ SECONDARY_ARCHITECTURES="x86" PROVIDES=" $portName = $portVersion - cmd:affixcompress$secondaryArchSuffix = $portVersion - cmd:hunspell$secondaryArchSuffix = $portVersion - cmd:hunspell_analyze$secondaryArchSuffix = $portVersion - cmd:hunspell_chmorph$secondaryArchSuffix = $portVersion - cmd:hunspell_munch$secondaryArchSuffix = $portVersion - cmd:hunspell_unmunch$secondaryArchSuffix = $portVersion - cmd:hunzip$secondaryArchSuffix = $portVersion - cmd:hzip$secondaryArchSuffix = $portVersion - cmd:ispellaff2myspell$secondaryArchSuffix = $portVersion - cmd:makealias$secondaryArchSuffix = $portVersion - cmd:wordforms$secondaryArchSuffix = $portVersion - cmd:wordlist2hunspell$secondaryArchSuffix = $portVersion + cmd:affixcompress = $portVersion + cmd:hunspell = $portVersion + cmd:hunspell_analyze = $portVersion + cmd:hunspell_chmorph = $portVersion + cmd:hunspell_munch = $portVersion + cmd:hunspell_unmunch = $portVersion + cmd:hunzip = $portVersion + cmd:hzip = $portVersion + cmd:ispellaff2myspell = $portVersion + cmd:makealias = $portVersion + cmd:wordforms = $portVersion + cmd:wordlist2hunspell = $portVersion lib:libhunspell_${portVersion%.*}$secondaryArchSuffix = 0.0.1 compat >= 0 " REQUIRES=" @@ -57,6 +57,7 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" cmd:autoconf + cmd:autopoint$secondaryArchSuffix cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix @@ -66,7 +67,7 @@ BUILD_PREREQUIRES=" BUILD() { autoreconf -fi - runConfigure ./configure --disable-static + runConfigure --omit-dirs "binDir" ./configure --bindir=$prefix/bin --disable-static make $jobArgs } @@ -79,7 +80,7 @@ INSTALL() # remove any existing (but empty) data/locale/*/LC_MESSAGES directory rm -r $dataDir/locale - prepareInstalledDevelLibs libhunspell-${portVersion%.*} + prepareInstalledDevelLib libhunspell-${portVersion%.*} fixPkgconfig packageEntries devel \