diff options
author | Akinori Hattori <hattya@gentoo.org> | 2020-05-06 21:41:28 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2020-05-06 21:43:01 +0900 |
commit | db83e4ec27b0d190d9e49d2b3d67d1493c175c8b (patch) | |
tree | 4089ab488b6dcf2e842fa90eaaa1f832ab700b56 /dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild | |
parent | dev-libs/libutf8proc: fix tests (diff) | |
download | gentoo-db83e4ec27b0d190d9e49d2b3d67d1493c175c8b.tar.gz gentoo-db83e4ec27b0d190d9e49d2b3d67d1493c175c8b.tar.bz2 gentoo-db83e4ec27b0d190d9e49d2b3d67d1493c175c8b.zip |
dev-libs/libutf8proc: add static-libs USE flag
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild')
-rw-r--r-- | dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild index 7998589fb90d..9657f0d5e0c0 100644 --- a/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild +++ b/dev-libs/libutf8proc/libutf8proc-2.4.0.ebuild @@ -12,18 +12,14 @@ SRC_URI="https://github.com/JuliaStrings/${PN#lib}/archive/v${PV}.tar.gz -> ${P} LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux" -IUSE="test" +IUSE="static-libs test" RESTRICT="!test? ( test )" BDEPEND="test? ( =app-i18n/unicode-data-12.0* )" S="${WORKDIR}/${P#lib}" -PATCHES=( - # Don't build or install static libs - "${FILESDIR}/${PN}-2.3.0-no-static.patch" - "${FILESDIR}"/${PN}-grapheme-test.patch -) +PATCHES=( "${FILESDIR}"/${PN}-grapheme-test.patch ) src_compile() { emake \ @@ -37,6 +33,7 @@ src_install() { prefix="/usr" \ libdir="/usr/$(get_libdir)" \ install + use static-libs || find "${ED}" -name '*.a' -delete || die # This package used to use netsurf's version as an upstream, which lives in # its own little world. Unlike julia's version, it puts its header file # in libutf8proc/utf8proc.h instead of utf8proc.h. The problem is that |