diff --git a/srcpkgs/lynx/patches/21_do_not_strip_-g.diff b/srcpkgs/lynx/patches/21_do_not_strip_-g.diff new file mode 100644 index 00000000000..851e303a6b5 --- /dev/null +++ b/srcpkgs/lynx/patches/21_do_not_strip_-g.diff @@ -0,0 +1,17 @@ +Description: Stop ./configure from stripping out -g from CFLAGS +Author: Andreas Metzler , + Simon Ruderich +Origin: vendor +Last-Update: 2021-07-27 + +--- a/configure ++++ b/configure +@@ -4098,7 +4098,7 @@ + test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` + ;; + (*) +- test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` ++ : + ;; + esac + fi diff --git a/srcpkgs/lynx/template b/srcpkgs/lynx/template index 880266b1819..0aa406d830f 100644 --- a/srcpkgs/lynx/template +++ b/srcpkgs/lynx/template @@ -1,16 +1,19 @@ # Template file for 'lynx' pkgname=lynx -version=2.9.0dev.10 +version=2.9.0dev.12 revision=1 build_style=gnu-configure -configure_args="--enable-widec --with-zlib --with-bzlib --with-ssl --enable-ipv6" +configure_args="--with-screen=ncurses --enable-widec --with-zlib --with-bzlib + --with-ssl --enable-ipv6 + cf_cv_header_path_ssl=${XBPS_CROSS_BASE}/usr/include/openssl" makedepends="zlib-devel bzip2-devel ncurses-devel openssl-devel" short_desc="Text browser for the World Wide Web" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="http://lynx.invisible-island.net/" -distfiles="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${version}.tar.bz2" -checksum=898ac82bcfcbd4b20ea39afdf66fd659b8773c7549623b0f8802bf392a41a912 +changelog="https://lynx.invisible-island.net/current/CHANGES" +distfiles="http://invisible-mirror.net/archives/lynx/tarballs/lynx${version}.tar.bz2" +checksum=a6455b159d00776d8ec1051285c972dc1f0c552d0571a0cff02a23ec146ee8e5 pre_configure() { sed -i configure \