aboutsummaryrefslogtreecommitdiff
path: root/libraries/nx-libs
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-15 16:39:08 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:09 +0700
commit718db268b31b83fa13b21f8194b4ecd7ed30600a (patch)
tree99dac11ed6fe51d0b449d541e17b6ab6556936f7 /libraries/nx-libs
parent0a227ffd5675ccbc37000878c0e331221fdedf41 (diff)
libraries/nx-libs: Fix build (make -j1).
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/nx-libs')
-rw-r--r--libraries/nx-libs/nx-libs.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/libraries/nx-libs/nx-libs.SlackBuild b/libraries/nx-libs/nx-libs.SlackBuild
index dc41e58b543a..fbc40c8eb67b 100644
--- a/libraries/nx-libs/nx-libs.SlackBuild
+++ b/libraries/nx-libs/nx-libs.SlackBuild
@@ -23,6 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220215 bkw: Modified by SlackBuilds.org:
+# - added -j1 to the make commands. parallel builds are broken. they
+# may occasionally work, but it's unreliable.
+# Note: there are other issues with this script:
+# ! SLKCFLAGS are never used.
+# ! -Werror is included in the flags that do get used, meaning this
+# will break in the future when Slackware's gcc gets upgraded.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nx-libs
@@ -91,7 +99,7 @@ sed -i -e "s|ArCmdBase\ clq|ArCmdBase cq|" \
# Fix man install dir
sed -i "s|share/man|man|g" Makefile
-make CONFIGURE="./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --mandir=/usr/man" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} IMAKE_DEFINES="-DUseTIRPC=YES"
+make -j1 CONFIGURE="./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --mandir=/usr/man" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} IMAKE_DEFINES="-DUseTIRPC=YES"
make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG