summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-02-19 20:56:01 +0100
committerDavid Seifert <soap@gentoo.org>2022-02-19 20:56:01 +0100
commit49b36caac2597482c792bee0884ae34bea231806 (patch)
treeac15a5ca4c92b12d19fac6e2eef174206b6fa0c9 /sci-biology/STAR/STAR-2.7.10a.ebuild
parentmedia-libs/vigra: simplify OpenEXR 3 dependency (diff)
downloadgentoo-49b36caac2597482c792bee0884ae34bea231806.tar.gz
gentoo-49b36caac2597482c792bee0884ae34bea231806.tar.bz2
gentoo-49b36caac2597482c792bee0884ae34bea231806.zip
sci-biology/STAR: unbundle htslib properly
Closes: https://bugs.gentoo.org/833770 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/STAR/STAR-2.7.10a.ebuild')
-rw-r--r--sci-biology/STAR/STAR-2.7.10a.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/sci-biology/STAR/STAR-2.7.10a.ebuild b/sci-biology/STAR/STAR-2.7.10a.ebuild
index 6b1c5b15d48..7239efcfe45 100644
--- a/sci-biology/STAR/STAR-2.7.10a.ebuild
+++ b/sci-biology/STAR/STAR-2.7.10a.ebuild
@@ -17,6 +17,7 @@ RDEPEND="sci-libs/htslib:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+PATCHES=( "${FILESDIR}"/${PN}-2.7.10a-fix-build-system.patch )
DOCS=( README.md CHANGES.md RELEASEnotes.md doc/STARmanual.pdf )
pkg_pretend() {
@@ -27,6 +28,13 @@ pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
+src_prepare() {
+ default
+
+ # remove bundled htslib
+ rm -r source/htslib || die
+}
+
src_configure() {
tc-export CC CXX PKG_CONFIG
}