rlwrap: fix for cross-compile.

This commit is contained in:
Christian Neukirchen 2014-11-15 19:27:57 +01:00
parent f000c9e786
commit 146929546e
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'rlwrap'
pkgname=rlwrap
version=0.42
revision=1
revision=2
build_style=gnu-configure
makedepends="readline-devel"
depends="perl"
@ -11,3 +11,7 @@ license="GPL-2"
homepage="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
distfiles="http://utopia.knoware.nl/~hlub/uck/rlwrap/$pkgname-$version.tar.gz"
checksum=5a70d8469db9d0a6630628f2d5d2972ad16c092400b7fbbdf699693ec0f87e44
pre_configure() {
sed -i '/file existence when cross compiling/s/as_fn_error/echo/' configure
}