From 6b96c8328bad798593601342e7f542b5638234a8 Mon Sep 17 00:00:00 2001
From: Donald Buczek <buczek@molgen.mpg.de>
Date: Thu, 31 Jan 2019 20:10:29 +0100
Subject: [PATCH] system/perl-5.28: Build net-snmp with -j 1

Parallel build seems to fail sometimes. Avoid that. Use -j 1 to override
MAKEFLAGS.
---
 system/perl-5.28.1-0.build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/perl-5.28.1-0.build.sh b/system/perl-5.28.1-0.build.sh
index 1797084..d92f4a1 100755
--- a/system/perl-5.28.1-0.build.sh
+++ b/system/perl-5.28.1-0.build.sh
@@ -146,7 +146,7 @@ cpan LWP::Protocol::https
 	cd net-snmp-5.8
 	patch -N -p1 < /src/mariux/patches/net-snmp-0001-Fix-incompatible-definitions-of-U64-type.patch || true
 	./configure --prefix $PREFIX
-	make -j $(nproc)
+	make -j 1
 	make install
 )