aspell: force 32-bit dictionaries for all archs.
Given [1] and that we cross build dictionary packages for 32bit archs on 64bit hosts, the generated dictionaries aren't usable on the 32bit systems. It is therefore necessary to compile aspell in its 32bit mode, which will make it possible to cross build dictionaries between supported architectures, as long as they have the same endianness. Furthermore, upstream recommends using 32bit hashes, since the 64bit ones are completely unnecessary [2]. It should be noted that dictionaries were previously completely broken for 32-bit cross compiled targets (currently, arvm6l and armv7l). [1] http://aspell.net/man-html/Using-32_002dBit-Dictionaries-on-a-64_002dBit-System.html [2] https://lists.gnu.org/archive/html/aspell-devel/2020-12/msg00001.html
This commit is contained in:
parent
de99c9693f
commit
8a9c5d8b1d
1 changed files with 9 additions and 2 deletions
|
@ -1,9 +1,16 @@
|
|||
# Template file for 'aspell'
|
||||
pkgname=aspell
|
||||
version=0.60.8
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-compile-in-filters"
|
||||
# we need to force aspell to use /usr/lib for data for two reasons:
|
||||
# - in multilib systems, it should use the native dicts instead of requiring
|
||||
# that a dict be installed twice
|
||||
# - when cross compiling packages, it's aspell that determines where the dicts
|
||||
# are to be installed; the build will error out if it tries to install the
|
||||
# dictionaries into /usr/lib64 for 32-bit targets
|
||||
configure_args="--enable-compile-in-filters --enable-32-bit-hash-fun
|
||||
--libdir=/usr/lib"
|
||||
hostmakedepends="automake libtool gettext-devel perl"
|
||||
makedepends="ncurses-devel"
|
||||
depends="perl"
|
||||
|
|
Loading…
Add table
Reference in a new issue