diff options
Diffstat (limited to 'sci-biology/amos/amos-9999.ebuild')
-rw-r--r-- | sci-biology/amos/amos-9999.ebuild | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sci-biology/amos/amos-9999.ebuild b/sci-biology/amos/amos-9999.ebuild index 55eb97e1a..923ac5978 100644 --- a/sci-biology/amos/amos-9999.ebuild +++ b/sci-biology/amos/amos-9999.ebuild @@ -19,13 +19,12 @@ EGIT_REPO_URI="git://amos.git.sourceforge.net/gitroot/amos/amos" LICENSE="Artistic" SLOT="0" KEYWORDS="" -IUSE="mpi qt4" +IUSE="mpi qt5 X" DEPEND=" mpi? ( virtual/mpi ) dev-libs/boost - qt4? ( dev-qt/qtcore:4[qt3support] - dev-qt/qt3support:4 ) + qt5? ( dev-qt/qtcore:5 ) sci-biology/blat sci-biology/jellyfish:1" RDEPEND="${DEPEND} @@ -33,20 +32,26 @@ RDEPEND="${DEPEND} dev-perl/Statistics-Descriptive sci-biology/mummer" -# --with-jellyfish location of Jellyfish headers - # $ gap-links # ERROR: Could not open file LIBGUESTFS_PATH=/usr/share/guestfs/appliance/ # $ src_prepare() { epatch "${FILESDIR}"/"${P}"-fix-include-paths.patch + epatch "${FILESDIR}"/amos-3.1.0-rename_to_jellyfish1.patch + sh ./bootstrap || die default eautoreconf - # prevent GCC 6 log pollution due - # to hash_map deprecation in C++11 - append-cxxflags -Wno-cpp + # prevent GCC 6 log pollution due to hash_map deprecation in C++11 + # shutdown gcc-8.2.0 messages too + append-cxxflags -Wno-cpp -Wno-narrowing +} + +src_configure() { + local myconf + use X && myconf+=( --with-x ) + econf ${myconf[@]} --with-jellyfish="${EPREFIX}"/usr/include --with-Boost-dir="${EPREFIX}"/usr/include --with-qmake-qt4=qmake --enable-all } src_install() { |