diff options
author | 2020-07-04 02:32:54 +1200 | |
---|---|---|
committer | 2020-07-04 03:00:08 +1200 | |
commit | 821c3144cfab97b5ce23982db8f4fea76a2f3718 (patch) | |
tree | e549107a9210ce74240c630c35d5f63adf9f8afd /dev-perl | |
parent | dev-perl/BSD-Resource: -r bump for CFLAGS love (diff) | |
download | gentoo-821c3144cfab97b5ce23982db8f4fea76a2f3718.tar.gz gentoo-821c3144cfab97b5ce23982db8f4fea76a2f3718.tar.bz2 gentoo-821c3144cfab97b5ce23982db8f4fea76a2f3718.zip |
dev-perl/Bio-SamTools: -r bump for toolchain fixes
- Don't break when LD=!ccld
- Ensure CFLAGS passed through to compiler
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Bio-SamTools/Bio-SamTools-1.430.0-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-perl/Bio-SamTools/Bio-SamTools-1.430.0-r2.ebuild b/dev-perl/Bio-SamTools/Bio-SamTools-1.430.0-r2.ebuild new file mode 100644 index 000000000000..ed1ab08f8255 --- /dev/null +++ b/dev-perl/Bio-SamTools/Bio-SamTools-1.430.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=LDS +DIST_VERSION=1.43 +inherit perl-module toolchain-funcs multilib + +DESCRIPTION="Read SAM/BAM database files" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="|| ( Apache-2.0 Artistic-2 GPL-1+ )" + +RDEPEND=" + >=sci-biology/bioperl-1.6.9 + sci-biology/samtools:0.1-legacy= +" +DEPEND=" + dev-perl/Module-Build + sci-biology/samtools:0.1-legacy= +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-CBuilder + >=dev-perl/Module-Build-0.420.0 +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.430.0-legacy-r1.patch +) + +src_configure() { + tc-export CC + unset LD + if [[ -n "${CCLD}" ]]; then + export LD="${CCLD}" + fi + SAM_LIB="${EPREFIX}/usr/$(get_libdir)/libbam-0.1-legacy.so" \ + SAM_INCLUDE="${EPREFIX}/usr/include/bam-0.1-legacy" \ + perl-module_src_configure +} +src_compile() { + ./Build --config optimize="${CFLAGS}" build || die +} |