slang: fix for musl.
This commit is contained in:
parent
f16b2211dd
commit
9452c17344
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'slang'
|
# Template file for 'slang'
|
||||||
pkgname="slang"
|
pkgname="slang"
|
||||||
version="2.2.4"
|
version="2.2.4"
|
||||||
revision=3
|
revision=4
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-z=${XBPS_CROSS_BASE}/usr --with-pcre=${XBPS_CROSS_BASE}/usr"
|
configure_args="--with-z=${XBPS_CROSS_BASE}/usr --with-pcre=${XBPS_CROSS_BASE}/usr"
|
||||||
@ -16,6 +16,9 @@ checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
|
|||||||
|
|
||||||
conf_files="/etc/slsh.rc"
|
conf_files="/etc/slsh.rc"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/posix_close/slrn_posix_close/g' src/slposio.c
|
||||||
|
}
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# configure test fails to detect termcap implementation if
|
# configure test fails to detect termcap implementation if
|
||||||
# /usr/share/terminfo does not exist.
|
# /usr/share/terminfo does not exist.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user