commit:     7b01b4e5c717e91eee103485209b12deb985adf3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 15:19:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 15:19:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b01b4e5

app-text/opensp: use BDEPEND

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/opensp/opensp-1.5.2-r7.ebuild | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/app-text/opensp/opensp-1.5.2-r7.ebuild 
b/app-text/opensp/opensp-1.5.2-r7.ebuild
index 7482559846fb..b64c81d3a7ca 100644
--- a/app-text/opensp/opensp-1.5.2-r7.ebuild
+++ b/app-text/opensp/opensp-1.5.2-r7.ebuild
@@ -1,14 +1,16 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit flag-o-matic autotools
+
+inherit autotools flag-o-matic
 
 MY_P=${P/opensp/OpenSP}
 
 DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity 
management"
 HOMEPAGE="http://openjade.sourceforge.net/";
 SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
@@ -16,11 +18,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips 
~ppc ~ppc64 ~riscv ~
 IUSE="doc elibc_glibc nls static-libs test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="
-       elibc_glibc? ( net-libs/libnsl:0= )"
-
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )
+RDEPEND="elibc_glibc? ( net-libs/libnsl:0= )"
+DEPEND="${RDEPEND}"
+BDEPEND="nls? ( sys-devel/gettext )
        doc? (
                app-text/xmlto
                app-text/docbook-xml-dtd:4.1.2
@@ -31,8 +31,6 @@ DEPEND="${RDEPEND}
                app-text/sgml-common
        )"
 
-S=${WORKDIR}/${MY_P}
-
 PATCHES=(
        "${FILESDIR}"/${P}-fix-segfault.patch
        "${FILESDIR}"/${P}-c11-using.patch

Reply via email to