aspell: aspell-devel doesn't require ncurses-devel
ncurses-devel isn't necessary in order to build applications using libaspell, and we can avoid pulling it in. Also use vsed.
This commit is contained in:
parent
7ad955664d
commit
5cbf2464e4
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'aspell'
|
||||
pkgname=aspell
|
||||
version=0.60.8
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
# 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
|
||||
|
@ -25,7 +25,7 @@ checksum=f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2
|
|||
pre_configure() {
|
||||
# XXX workaround ctor/dtor ordering with musl
|
||||
export CXXFLAGS="${CXXFLAGS/-O?/-O0}"
|
||||
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||
vsed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ libaspell_package() {
|
|||
}
|
||||
|
||||
aspell-devel_package() {
|
||||
depends="ncurses-devel aspell>=${version}_${revision}"
|
||||
depends="aspell>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
|
Loading…
Reference in New Issue