commit: 16218f3bb128f3a2fc4e08b62bb90e298be5e2e0
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 09:06:49 2018 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 09:07:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16218f3b
dev-libs/libunicode: [QA] Minor touchups
* Avoid installing static libs
* Remove .la files
* Remove old src_install that shadows
the same default one in EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-libs/libunicode/libunicode-0.4-r2.ebuild | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libunicode/libunicode-0.4-r2.ebuild
b/dev-libs/libunicode/libunicode-0.4-r2.ebuild
index 88dcbf104bb..ffece83e393 100644
--- a/dev-libs/libunicode/libunicode-0.4-r2.ebuild
+++ b/dev-libs/libunicode/libunicode-0.4-r2.ebuild
@@ -19,10 +19,17 @@ src_prepare() {
# The build system is too old, regenerate here to fix crossbuild and
# respect LDFLAGS and probably other problems too.
sed -i -e "/testsuite/d" configure.in || die
+ mv configure.{in,ac} || die
eautoreconf
}
+src_configure() {
+ econf --disable-static
+}
+
src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ default
+
+ # no static libs installed
+ find "${D}" -name '*.la' -delete || die
}