mdbtools: fix musl
This commit is contained in:
parent
0c4a33aa19
commit
4164fa4c3b
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mdbtools'
|
||||
pkgname=mdbtools
|
||||
version=0.5
|
||||
revision=8
|
||||
revision=9
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-glibtest --enable-sql"
|
||||
hostmakedepends="flex bison pkg-config"
|
||||
|
@ -13,9 +13,11 @@ license="GPL-2, LGPL-2.1"
|
|||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=7a5db39fecff5ce4fb91e019acf5795b40221aff09bbd6d84f8dec60f017b05d
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
*-musl) broken="cannot stat '/destdir//mdbtools-0.5/usr/lib/*.so.*': No such file or directory"
|
||||
esac
|
||||
pre_configure() {
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
*-musl) sed -i -e "s/^host_os=.*/host_os=gnu/" configure
|
||||
esac
|
||||
}
|
||||
|
||||
mdbtools-devel_package() {
|
||||
depends="libmdb>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue