diff options
Diffstat (limited to 'source/l/ncurses/ncurses.SlackBuild')
-rwxr-xr-x | source/l/ncurses/ncurses.SlackBuild | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/source/l/ncurses/ncurses.SlackBuild b/source/l/ncurses/ncurses.SlackBuild index 7c6542a3..8f561baa 100755 --- a/source/l/ncurses/ncurses.SlackBuild +++ b/source/l/ncurses/ncurses.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2000-2011, 2013, 2014, 2015, 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2000-2011, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -81,7 +81,7 @@ CFLAGS="$SLKCFLAGS" \ --with-gpm \ --with-shared \ --without-debug \ - --disable-static \ + --without-normal \ --without-profile \ --enable-symlinks \ --enable-pc-files \ @@ -152,20 +152,6 @@ cp -a misc/termcap $PKG/etc/termcap find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -# Remove static libraries: -for file in libform.a libformw.a libmenu.a libmenuw.a libncurses++.a \ - libncurses++w.a libncurses.a libncursesw.a libpanel.a libpanelw.a \ - libtic.a libtinfo.a libcurses.a ; do - rm -f $PKG/usr/lib${LIBDIRSUFFIX}/$file -done - -# Check for new static residue: -if ls $PKG/usr/lib${LIBDIRSUFFIX}/*.a 1> /dev/null 2> /dev/null ; then - echo "BAILING OUT. A NEW STATIC LIBRARY HAS APPEARED:" - ls -l $PKG/usr/lib${LIBDIRSUFFIX}/*.a - exit 1 -fi - # Move the include files from /usr/include into /usr/include/ncurses, # then make symlinks back into /usr/include. ( cd $PKG/usr/include |