diff options
author | David Seifert <soap@gentoo.org> | 2017-11-02 04:30:46 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-11-02 04:30:46 +0100 |
commit | f271f6acc55e7d323a78cc9527507834b8bcedea (patch) | |
tree | 60b8613ca008a849673934f48cbad941ff1fa067 /sci-biology | |
parent | sci-biology/bamtools: Remove old (diff) | |
download | gentoo-f271f6acc55e7d323a78cc9527507834b8bcedea.tar.gz gentoo-f271f6acc55e7d323a78cc9527507834b8bcedea.tar.bz2 gentoo-f271f6acc55e7d323a78cc9527507834b8bcedea.zip |
sci-biology/bamtools: Minor fixes
* Add 'virtual/pkgconfig' to DEPEND
* Delete bundled libs for safety
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/bamtools/bamtools-2.4.2.ebuild | 10 | ||||
-rw-r--r-- | sci-biology/bamtools/bamtools-9999.ebuild | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/sci-biology/bamtools/bamtools-2.4.2.ebuild b/sci-biology/bamtools/bamtools-2.4.2.ebuild index e6daa8262028..bd0157db0d12 100644 --- a/sci-biology/bamtools/bamtools-2.4.2.ebuild +++ b/sci-biology/bamtools/bamtools-2.4.2.ebuild @@ -22,6 +22,14 @@ SLOT="0/${PV}" # no stable ABI yet RDEPEND=" >=dev-libs/jsoncpp-1.8.0:= sys-libs/zlib:=" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + virtual/pkgconfig" mycmakeargs=( -DBUILD_SHARED_LIBS=ON ) + +src_prepare() { + # delete bundled libs, just to be safe + rm -r src/third_party/{gtest-1.6.0,jsoncpp} || die + + cmake-utils_src_prepare +} diff --git a/sci-biology/bamtools/bamtools-9999.ebuild b/sci-biology/bamtools/bamtools-9999.ebuild index e6daa8262028..bd0157db0d12 100644 --- a/sci-biology/bamtools/bamtools-9999.ebuild +++ b/sci-biology/bamtools/bamtools-9999.ebuild @@ -22,6 +22,14 @@ SLOT="0/${PV}" # no stable ABI yet RDEPEND=" >=dev-libs/jsoncpp-1.8.0:= sys-libs/zlib:=" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + virtual/pkgconfig" mycmakeargs=( -DBUILD_SHARED_LIBS=ON ) + +src_prepare() { + # delete bundled libs, just to be safe + rm -r src/third_party/{gtest-1.6.0,jsoncpp} || die + + cmake-utils_src_prepare +} |