Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2021 19:47:32 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562238 - head/devel/goredo
Message-ID:  <202101211947.10LJlWaj095200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Jan 21 19:47:31 2021
New Revision: 562238
URL: https://svnweb.freebsd.org/changeset/ports/562238

Log:
  devel/goredo: Fix extract on 11 by adding dependency on archivers/zstd
  
  tar(1) on 11 is broken: it apparently knows the .tar.zst extension, calls the zstd program for it, but the port is required for zstd
  
  Reported by:	fallout

Modified:
  head/devel/goredo/Makefile

Modified: head/devel/goredo/Makefile
==============================================================================
--- head/devel/goredo/Makefile	Thu Jan 21 19:40:27 2021	(r562237)
+++ head/devel/goredo/Makefile	Thu Jan 21 19:47:31 2021	(r562238)
@@ -18,4 +18,10 @@ WRKSRC_SUBDIR=	src
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} >= 1200000
+EXTRACT_DEPENDS=	zstd:archivers/zstd # 11 doesn't have the 'zstd' executable that tar(1) expects: Error opening archive: Can't initialize filter; unable to run program "zstd -d -qq"
+.endif
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101211947.10LJlWaj095200>