From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/grep: grep-2.16.ebuild ChangeLog |
Date: | Thu, 02 Jan 2014 11:36:23 |
Message-Id: | 20140102113619.E85832004C@flycatcher.gentoo.org |
1 | vapier 14/01/02 11:36:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: grep-2.16.ebuild |
5 | Log: |
6 | Version bump. Add USE=static support. |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 | |
10 | Revision Changes Path |
11 | 1.129 sys-apps/grep/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/grep/ChangeLog?rev=1.129&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/grep/ChangeLog?rev=1.129&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/grep/ChangeLog?r1=1.128&r2=1.129 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v |
20 | retrieving revision 1.128 |
21 | retrieving revision 1.129 |
22 | diff -u -r1.128 -r1.129 |
23 | --- ChangeLog 13 Dec 2013 15:03:21 -0000 1.128 |
24 | +++ ChangeLog 2 Jan 2014 11:36:19 -0000 1.129 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-apps/grep |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.128 2013/12/13 15:03:21 polynomial-c Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/ChangeLog,v 1.129 2014/01/02 11:36:19 vapier Exp $ |
31 | + |
32 | +*grep-2.16 (02 Jan 2014) |
33 | + |
34 | + 02 Jan 2014; Mike Frysinger <vapier@g.o> +grep-2.16.ebuild: |
35 | + Version bump. Add USE=static support. |
36 | |
37 | *grep-2.15-r1 (13 Dec 2013) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/grep/grep-2.16.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/grep/grep-2.16.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/grep/grep-2.16.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: grep-2.16.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.16.ebuild,v 1.1 2014/01/02 11:36:19 vapier Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit flag-o-matic toolchain-funcs |
56 | |
57 | DESCRIPTION="GNU regular expression matcher" |
58 | HOMEPAGE="http://www.gnu.org/software/grep/" |
59 | SRC_URI="mirror://gnu/${PN}/${P}.tar.xz |
60 | mirror://gentoo/${P}.tar.xz" |
61 | |
62 | LICENSE="GPL-3" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
65 | IUSE="nls pcre static" |
66 | |
67 | LIB_DEPEND="pcre? ( >=dev-libs/libpcre-7.8-r1[static-libs(+)] )" |
68 | RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
69 | nls? ( virtual/libintl ) |
70 | virtual/libiconv" |
71 | DEPEND="${RDEPEND} |
72 | nls? ( sys-devel/gettext ) |
73 | static? ( ${LIB_DEPEND} )" |
74 | |
75 | DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
76 | |
77 | src_configure() { |
78 | use static && append-ldflags -static |
79 | # Always use pkg-config to get lib info for pcre. |
80 | export ac_cv_search_pcre_compile=$( |
81 | usex pcre "$($(tc-getPKG_CONFIG) --libs $(usex static --static '') libpcre)" '' |
82 | ) |
83 | econf \ |
84 | --bindir="${EPREFIX}"/bin \ |
85 | $(use_enable nls) \ |
86 | $(use_enable pcre perl-regexp) |
87 | } |