Compare commits

..

2 commits

Author SHA1 Message Date
Ohio2
d23d04fc85 flex changed up 2021-07-14 09:06:05 +02:00
Ohio2
2aa254d61a issued critical curses patch 2021-07-14 09:05:27 +02:00
2 changed files with 44 additions and 6 deletions

View file

@ -5,12 +5,50 @@ sed -i s/mawk// configure
mkdir build mkdir build
pushd build pushd build
../configure ../configure
make -C include make -C in`clude
make -C progs tic make -C progs tic
popd popd
./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec ./configure --prefix=/usr --build=$(./config.guess) --mandir=/usr/share/man --with-manpage-format=normal --with-shared --without-debug --without-ada --without-normal --enable-widec --with-pkg-config-libdir=/usr/lib/ncurses/6_2/lib/pkgconfig
make make
make install DESTDIR="$1" make DESTDIR="$1" install
cp libncursesw.so /lib/libncursesw.so ln -s $1/usr/lib/ncurses/6_2/bin/captoinfo $1/usr/bin/
ln -s /lib/libncursesw.so /lib/libncurses.so ln -s $1/usr/lib/ncurses/6_2/bin/clear $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/infocmp $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/infotocap $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/ncurses6-config $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/reset $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/tabs $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/tic $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/toe $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/tput $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/bin/tset $1/usr/bin/
ln -s $1/usr/lib/ncurses/6_2/include/ncurses $1/usr/include
ln -s $1/usr/lib/ncurses/6_2/lib/libform.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libform_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libform.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libform.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libform.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libmenu.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses++.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses++_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libncurses.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel_g.a $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.so $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.so.6 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/libpanel.so.6.1 $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/terminfo $1/usr/lib/
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/form.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/menu.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/ncurses++.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/ncurses.pc $1/usr/lib/pkgconfig/
ln -s $1/usr/lib/ncurses/6_2/lib/pkgconfig/panel.pc $1/usr/lib/pkgconfig/
echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so echo "INPUT(-lncursesw)" > $1/usr/lib/libncurses.so

View file

@ -6,4 +6,4 @@ HELP2MAN=/tools/bin/true ./configure --prefix=/usr --docdir=/usr/share/doc/flex-
make make
make check make check
make install DESTDIR="$1" make install DESTDIR="$1"
ln -sv flex /usr/bin/lex ln -sv flex $1/usr/bin/lex