diff options
Diffstat (limited to 'slackware64-current/source/a/util-linux/util-linux.SlackBuild')
-rwxr-xr-x | slackware64-current/source/a/util-linux/util-linux.SlackBuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/slackware64-current/source/a/util-linux/util-linux.SlackBuild b/slackware64-current/source/a/util-linux/util-linux.SlackBuild index f57d5d87c..4d6046024 100755 --- a/slackware64-current/source/a/util-linux/util-linux.SlackBuild +++ b/slackware64-current/source/a/util-linux/util-linux.SlackBuild @@ -23,12 +23,14 @@ # Slackware build script for util-linux VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} ADJTIMEXVERS=1.29 SETSERIALVERS=2.17 ZIPTOOLVERS=1.4.0 +NUMJOBS=${--j8} + # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -105,10 +107,17 @@ CFLAGS="$SLKCFLAGS" \ --enable-libuuid \ --disable-uuidd \ --with-python=2 \ + --without-readline \ --build=$ARCH-slackware-linux \ || exit 1 -make -j7 || make || exit 1 +# UNUSED, but maybe needed if we enable readline here: +# +# Yet another project that doesn't seem to get that -readline requires either +# -ltermcap or -lncurses on systems that don't make assumptions... +#sed -i -e 's|-lreadline|\0 -lncursesw|g' Makefile + +make $NUMBJOBS || make || exit 1 make install DESTDIR=$PKG || make install DESTDIR=$PKG # Remove all overlap with the shadow package, since --disable-login doesn't quite do that: |