Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pcre++/
Date: Wed, 04 Nov 2015 20:55:47
Message-Id: 1446670532.3da173897a05735b80c9cf62bbd9d9966d92288c.vapier@gentoo
1 commit: 3da173897a05735b80c9cf62bbd9d9966d92288c
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 4 20:54:15 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 4 20:55:32 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3da17389
7
8 dev-libs/pcre++: add USE=static-libs support
9
10 dev-libs/pcre++/pcre++-0.9.5-r1.ebuild | 10 +++++++++-
11 1 file changed, 9 insertions(+), 1 deletion(-)
12
13 diff --git a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
14 index 751000a..0003bf2 100644
15 --- a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
16 +++ b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
17 @@ -14,7 +14,7 @@ SRC_URI="http://www.daemon.de/files/mirror/ftp.daemon.de/scip/Apps/${PN}/${P}.ta
18 LICENSE="LGPL-2.1"
19 SLOT="0"
20 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 s390 sh sparc x86"
21 -IUSE=""
22 +IUSE="static-libs"
23
24 DEPEND="dev-libs/libpcre"
25 RDEPEND="${DEPEND}"
26 @@ -25,11 +25,19 @@ src_prepare() {
27 EPATCH_FORCE="yes" \
28 epatch
29
30 + # Disable examples which we never run/install.
31 + echo > examples/Makefile.am || die
32 +
33 eautoreconf
34 }
35
36 +src_configure() {
37 + econf $(use_enable static-libs static)
38 +}
39 +
40 src_install() {
41 default
42 + use static-libs || find "${ED}"/usr -name 'lib*.la' -delete
43
44 dohtml -r doc/html/.
45 doman doc/man/man3/Pcre.3