Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2024 15:00:22 GMT
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 94ae98221aa5 - main - biology/star: Use EXTRACT_AFTER_ARGS to omit unused htslib dir
Message-ID:  <202405051500.445F0MY5055761@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94ae98221aa55d9dfac0cbd7a6a68d189d090222

commit 94ae98221aa55d9dfac0cbd7a6a68d189d090222
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2024-05-05 14:58:47 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2024-05-05 14:58:47 +0000

    biology/star: Use EXTRACT_AFTER_ARGS to omit unused htslib dir
    
    Reduces I/O during builds
    
    PR:             278751
    Reported by:    diizzy
---
 biology/star/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/biology/star/Makefile b/biology/star/Makefile
index 968caa762551..8e01f3198cd4 100644
--- a/biology/star/Makefile
+++ b/biology/star/Makefile
@@ -26,13 +26,14 @@ USE_GCC=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	alexdobin
 
+EXTRACT_AFTER_ARGS=	--exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/source/htslib --no-same-owner --no-same-permissions
+
 WRKSRC_SUBDIR=	source
 MAKE_FLAGS=	HTSLIB='' CXXFLAGS_SIMD=""
 
 PLIST_FILES=	bin/STAR
 
 post-patch:
-	${RM} -rf ${WRKSRC}/htslib
 	${REINPLACE_CMD} \
 		-e 's|"htslib/htslib/sam.h"|<htslib/sam.h>|g' \
 		-e 's|"htslib/htslib/kstring.h"|<htslib/kstring.h>|g' \



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