summaryrefslogtreecommitdiff
path: root/data/readline/make.sh
blob: 81827e1ae05ed75b43a34b509a5f906e949d6887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkg:extract
cd *

for ((x = 1; x != 6; ++x)); do
    patch -p0 <"${PKG_DATA}/readline70-$(printf '%.3u\n' "$x")"
done

pkg:patch
autoconf
pkg:configure ac_cv_func_strcoll_works=yes bash_cv_func_sigsetjmp=present bash_cv_func_ctype_nonascii=no bash_cv_must_reinstall_sighandlers=no bash_cv_func_strcoll_broken=yes
make CFLAGS='-O2'
pkg:install
pkg: ln -s libreadline.5.2.dylib /usr/lib/libreadline.5.dylib
pkg: ln -s libreadline.6.0.dylib /usr/lib/libreadline.5.2.dylib
pkg: ln -s libreadline.7.0.dylib /usr/lib/libreadline.6.0.dylib
pkg: ln -s libhistory.5.2.dylib /usr/lib/libhistory.5.dylib
pkg: ln -s libhistory.6.0.dylib /usr/lib/libhistory.5.2.dylib
pkg: ln -s libhistory.7.0.dylib /usr/lib/libhistory.6.0.dylib