app-text/libetonyek: Populate BDEPEND
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 1 Oct 2019 23:29:45 +0000 (01:29 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 1 Oct 2019 23:43:05 +0000 (01:43 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-text/libetonyek/libetonyek-9999.ebuild

index 5a2e3527e53aea6237c72bbe9e78690efb86297c..9bea9ad25cf0f15b60357739eda02ace30643c3a 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-if [[ ${PV} = 9999 ]]; then
+if [[ ${PV} = *9999 ]]; then
        EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libetonyek.git"
        inherit autotools git-r3
 else
@@ -17,6 +17,10 @@ LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
 SLOT="0"
 IUSE="doc static-libs test"
 
+BDEPEND="
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+"
 RDEPEND="
        app-text/liblangtag
        dev-libs/librevenge
@@ -28,15 +32,13 @@ DEPEND="${RDEPEND}
        dev-libs/boost
        media-libs/glm
        sys-devel/libtool
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
        test? ( dev-util/cppunit )
 "
 
 src_prepare() {
        default
        [[ -d m4 ]] || mkdir "m4"
-       [[ ${PV} == 9999 ]] && eautoreconf
+       [[ ${PV} == *9999 ]] && eautoreconf
 }
 
 src_configure() {
@@ -57,5 +59,5 @@ src_configure() {
 
 src_install() {
        default
-       find "${D}" -name '*.la' -delete || die
+       find "${D}" -name '*.la' -type f -delete || die
 }