app-text/libetonyek: Pin to =dev-util/mdds-1.4*
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 12 Sep 2019 20:23:15 +0000 (22:23 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 12 Sep 2019 20:27:33 +0000 (22:27 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-text/libetonyek/libetonyek-0.1.9.ebuild

index bd8b3c336f21cf82bd87745b8b56738bcb9f991b..e690d1468504bcb38fe2b677dd188a1af0397a5a 100644 (file)
@@ -21,7 +21,7 @@ RDEPEND="
        app-text/liblangtag
        dev-libs/librevenge
        dev-libs/libxml2
-       >=dev-util/mdds-1.3.1:1=
+       =dev-util/mdds-1.4*:1=
        sys-libs/zlib
 "
 DEPEND="${RDEPEND}
@@ -42,15 +42,11 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                --disable-werror
+               --with-mdds=1.4
                $(use_with doc docs)
                $(use_enable static-libs static)
                $(use_enable test tests)
        )
-       if has_version ">=dev-util/mdds-1.4"; then
-               myeconfargs+=( --with-mdds=1.4 )
-       else
-               myeconfargs+=( --with-mdds=1.2 )
-       fi
 
        econf "${myeconfargs[@]}"
 }