dev-libs/bglibs: add libtool to BDEPEND; minor fixes
authorStefan Strogin <steils@gentoo.org>
Tue, 7 May 2019 03:30:03 +0000 (06:30 +0300)
committerStefan Strogin <steils@gentoo.org>
Fri, 17 May 2019 00:45:15 +0000 (03:45 +0300)
Drop redundant ${S} in src_prepare; fix LICENSE.

Bug: https://bugs.gentoo.org/380649
Closes: https://github.com/gentoo/gentoo/pull/11924
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stefan Strogin <steils@gentoo.org>
dev-libs/bglibs/bglibs-2.04.ebuild

index 7af2222a4d7f4da0ebe23ea98d052af37ee3303e..b8d116835c3db6a4cea0f4bfd57da27b44164dda 100644 (file)
@@ -9,14 +9,15 @@ DESCRIPTION="Bruce Guenter's Libraries Collection"
 HOMEPAGE="https://untroubled.org/bglibs/"
 SRC_URI="https://untroubled.org/bglibs/archive/${P}.tar.gz"
 
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
 SLOT="0/2"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="doc"
 
 RDEPEND=""
 DEPEND=""
-BDEPEND="doc? (
+BDEPEND="sys-devel/libtool
+       doc? (
                app-doc/doxygen
                dev-tex/xcolor
                dev-texlive/texlive-latex
@@ -28,8 +29,8 @@ BDEPEND="doc? (
 src_prepare() {
        default
        # disable tests as we want them manually
-       sed -i '/^all:/s|selftests||' "${S}"/Makefile || die
-       sed -i '/selftests/d' "${S}"/TARGETS || die
+       sed -i '/^all:/s|selftests||' Makefile || die
+       sed -i '/selftests/d' TARGETS || die
 }
 
 src_configure() {