slang: fix termcap detection in cross builds.

This commit is contained in:
Juan RP 2014-02-27 12:13:19 +01:00
parent 72e5c099fa
commit 1c3e3e2d20
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@ checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
conf_files="/etc/slsh.rc"
pre_configure() {
# configure test fails to detect termcap implementation if
# /usr/share/terminfo does not exist.
install -d /usr/share/terminfo
}
post_configure() {
sed '/RPATH/d' -i slsh/Makefile modules/Makefile
}