development/THE: Fix make bug - use "make -j1 install".

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Richard Narron 2023-02-06 17:39:12 +00:00 committed by Willy Sudiarto Raharjo
parent 68ed96d13f
commit db2ecb04f2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=THE
VERSION=${VERSION:-4.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -81,7 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# patch install file: --with-curses=pdcurses-x11
# patch INSTALL file: --with-curses=pdcurses-x11
patch -b -p1 < $CWD/install.patch
# patch Makefile.in to make sure manext is built early
@ -105,7 +105,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc
make
make install DESTDIR=$PKG
make -j1 install DESTDIR=$PKG
rm -f $PKG/usr/bin/the
ln -sf the-con $PKG/usr/bin/the