sqlite: fix build with libedit

Closes: #9954 [via git-merge-pr]
This commit is contained in:
void-user 2017-12-13 01:39:23 +03:00 committed by Jürgen Buchmüller
parent 837c713f0e
commit 56d0422395
1 changed files with 6 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# Template build file for 'sqlite'.
pkgname=sqlite
version=3.21.0
revision=1
revision=2
_amalgamationver=$(printf "%d%02d%02d00\n" ${version//./ })
wrksrc="sqlite-autoconf-${_amalgamationver}"
build_style=gnu-configure
configure_args="--enable-threadsafe --enable-readline --enable-dynamic-extensions --enable-fts5"
configure_args="--enable-threadsafe --enable-dynamic-extensions --enable-fts5"
makedepends="libedit-devel"
short_desc="SQL Database Engine in a C Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -22,6 +22,10 @@ CFLAGS="-DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_COLUMN_METADATA \
CFLAGS+=" -DHAVE_FDATASYNC"
disable_parallel_build=yes
pre_configure() {
sed -i -e 's/ -ltinfo//g' configure
}
sqlite-devel_package() {
depends="sqlite>=${version}_${revision}"
short_desc+=" - development files"