app-i18n/opencc: Delete "static-libs" USE flag.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Tue, 22 Aug 2017 10:44:29 +0000 (12:44 +0200)
committerMike Gilbert <floppym@gentoo.org>
Tue, 22 Aug 2017 14:20:13 +0000 (10:20 -0400)
No *.a or *.la files are built by build system.

app-i18n/opencc/opencc-1.0.5.ebuild

index bd885053aae87e3fd49feb521e849dcb2f4afa14..bf1dbe79616b48762c987e0a8f935af7c3f49e8f 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.g
 LICENSE="Apache-2.0"
 SLOT="0/2"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="doc static-libs"
+IUSE="doc"
 
 DEPEND="doc? ( app-doc/doxygen )"
 RDEPEND=""
@@ -41,6 +41,4 @@ src_install() {
                mv "${ED}usr/share/opencc/doc/html" "${ED}usr/share/doc/${P}/html" || die
                rmdir "${ED}usr/share/opencc/doc" || die
        fi
-
-       use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} +
 }