aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2024-05-05 14:58:47 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2024-05-05 14:58:47 +0000
commit94ae98221aa55d9dfac0cbd7a6a68d189d090222 (patch)
treef9ee7bba2a5b9268d3bd1480a39c7fd9f31ed5ca
parent5d736fc85e42aac2649de640037dc54382176691 (diff)
downloadports-94ae98221aa55d9dfac0cbd7a6a68d189d090222.tar.gz
ports-94ae98221aa55d9dfac0cbd7a6a68d189d090222.zip
biology/star: Use EXTRACT_AFTER_ARGS to omit unused htslib dir
Reduces I/O during builds PR: 278751 Reported by: diizzy
-rw-r--r--biology/star/Makefile3
1 files changed, 2 insertions, 1 deletions
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' \