lynx: repair cross compilation; enable zlib/bzip2/widec support.

This commit is contained in:
Juan RP 2015-07-21 10:05:27 +02:00
parent 877cb91721
commit 19873541cc

View file

@ -1,14 +1,18 @@
# Template build file for 'lynx' # Template build file for 'lynx'
pkgname=lynx pkgname=lynx
version=2.8.8 version=2.8.8
revision=7 revision=8
wrksrc="${pkgname}${version//./-}" wrksrc="${pkgname}${version//./-}"
build_style=gnu-configure build_style=gnu-configure
configure_args=" --with-ssl --enable-ipv6" configure_args="--enable-widec --with-zlib --with-bzlib --with-ssl --enable-ipv6"
short_desc="A text browser for the World Wide Web" short_desc="A text browser for the World Wide Web"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
makedepends="ncurses-devel libressl-devel" makedepends="zlib-devel bzip2-devel ncurses-devel libressl-devel"
license="GPL" license="GPL"
homepage="http://lynx.isc.org" homepage="http://lynx.isc.org"
distfiles="http://lynx.isc.org/${pkgname}${version}/${pkgname}${version}.tar.gz" distfiles="http://lynx.isc.org/${pkgname}${version}/${pkgname}${version}.tar.gz"
checksum=234c9dc77d4c4594ad6216d7df4d49eae3019a3880e602f39721b35b97fbc408 checksum=234c9dc77d4c4594ad6216d7df4d49eae3019a3880e602f39721b35b97fbc408
pre_configure() {
sed -i '/LDFLAGS="-L$cf_add_libdir $LDFLAGS"/d' configure
}