pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/zstd zstd: still not make-jobs safe



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3956baa154f4
branches:  trunk
changeset: 444332:3956baa154f4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 05 07:38:22 2021 +0000

description:
zstd: still not make-jobs safe

Add link to upstream bug report

diffstat:

 archivers/zstd/Makefile |  20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 5d09c213a8fe -r 3956baa154f4 archivers/zstd/Makefile
--- a/archivers/zstd/Makefile   Tue Jan 05 04:51:04 2021 +0000
+++ b/archivers/zstd/Makefile   Tue Jan 05 07:38:22 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2021/01/03 14:55:50 adam Exp $
+# $NetBSD: Makefile,v 1.33 2021/01/05 07:38:22 wiz Exp $
 
 DISTNAME=      zstd-1.4.8
 CATEGORIES=    archivers
@@ -12,8 +12,22 @@
 
 CHECK_PORTABILITY_SKIP+=       tests/playTests.sh
 
-# 1.4.5: ../lib/libzstd.so: file not recognized: file format not recognized
-#MAKE_JOBS_SAFE=               no
+# 1.4.8
+# ld: ../lib/libzstd.a: error adding symbols: no more archived files
+# ld:../lib/libzstd.a: file format not recognized; treating as linker script
+# ld:../lib/libzstd.a:1: syntax error
+# or
+# ld: ../lib/libzstd.a: error adding symbols: file format not recognized
+# reported as
+# https://github.com/facebook/zstd/issues/2453
+MAKE_JOBS_SAFE=                no
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+TOOL_DEPENDS+=         coreutils>=0:../../sysutils/coreutils
+MAKE_ENV+=             HASH=gmd5sum
+.endif
 
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            ggrep gmake pkg-config



Home | Main Index | Thread Index | Old Index