readline: force linkage to ncurses to resolve missing symbol.
This commit is contained in:
parent
f6e54fcf82
commit
1b714ff3d6
1 changed files with 7 additions and 4 deletions
|
@ -3,11 +3,10 @@ pkgname=readline
|
|||
_dist_ver=6.3
|
||||
_patch_ver=008
|
||||
version=${_dist_ver}.${_patch_ver}
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=${pkgname}-${_dist_ver}
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-curses --enable-multibyte"
|
||||
make_build_args="SHLIB_LIBS=-lncurses"
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="The GNU Readline Library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -16,8 +15,6 @@ license="GPL-3"
|
|||
distfiles="http://ftp.gnu.org/gnu/readline/${pkgname}-${_dist_ver}.tar.gz"
|
||||
checksum=56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43
|
||||
|
||||
LDFLAGS="-lncurses"
|
||||
|
||||
pre_configure() {
|
||||
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-${_dist_ver}-patches"
|
||||
|
||||
|
@ -38,6 +35,12 @@ pre_configure() {
|
|||
done
|
||||
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
||||
}
|
||||
do_build() {
|
||||
make ${makejobs} LDFLAGS="-lncurses" SHLIB_LIBS="-lncurses"
|
||||
}
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} LDFLAGS="-lncurses" SHLIB_LIBS="-lncurses" install
|
||||
}
|
||||
|
||||
readline-devel_package() {
|
||||
depends="ncurses-devel ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Add table
Reference in a new issue