slang: fix termcap detection in cross builds.
This commit is contained in:
parent
72e5c099fa
commit
1c3e3e2d20
|
@ -16,6 +16,12 @@ checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
|
||||||
|
|
||||||
conf_files="/etc/slsh.rc"
|
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() {
|
post_configure() {
|
||||||
sed '/RPATH/d' -i slsh/Makefile modules/Makefile
|
sed '/RPATH/d' -i slsh/Makefile modules/Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue