aboutsummaryrefslogtreecommitdiff
path: root/libraries/nx-libs
diff options
context:
space:
mode:
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