svn commit: r562238 - head/devel/goredo

Yuri Victorovich yuri at FreeBSD.org
Thu Jan 21 19:47:32 UTC 2021


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>


More information about the svn-ports-all mailing list