summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}