Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libesmtp: ChangeLog libesmtp-1.0.6.ebuild
Date: Tue, 28 Sep 2010 10:22:55
Message-Id: 20100928102241.B321820051@flycatcher.gentoo.org
1 ssuominen 10/09/28 10:22:41
2
3 Modified: ChangeLog libesmtp-1.0.6.ebuild
4 Log:
5 USE="static-libs" and keep .la files (they are used for loading plugins). Fix documentation installation.
6
7 (Portage version: 2.2_rc87/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.46 net-libs/libesmtp/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libesmtp/ChangeLog?rev=1.46&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libesmtp/ChangeLog?rev=1.46&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libesmtp/ChangeLog?r1=1.45&r2=1.46
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libesmtp/ChangeLog,v
19 retrieving revision 1.45
20 retrieving revision 1.46
21 diff -u -r1.45 -r1.46
22 --- ChangeLog 25 Sep 2010 02:37:12 -0000 1.45
23 +++ ChangeLog 28 Sep 2010 10:22:41 -0000 1.46
24 @@ -1,6 +1,10 @@
25 # ChangeLog for net-libs/libesmtp
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libesmtp/ChangeLog,v 1.45 2010/09/25 02:37:12 radhermit Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libesmtp/ChangeLog,v 1.46 2010/09/28 10:22:41 ssuominen Exp $
29 +
30 + 28 Sep 2010; Samuli Suominen <ssuominen@g.o> libesmtp-1.0.6.ebuild:
31 + USE="static-libs" and keep .la files (they are used for loading plugins).
32 + Fix documentation installation.
33
34 *libesmtp-1.0.6 (25 Sep 2010)
35
36
37
38
39 1.2 net-libs/libesmtp/libesmtp-1.0.6.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libesmtp/libesmtp-1.0.6.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libesmtp/libesmtp-1.0.6.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libesmtp/libesmtp-1.0.6.ebuild?r1=1.1&r2=1.2
44
45 Index: libesmtp-1.0.6.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/net-libs/libesmtp/libesmtp-1.0.6.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- libesmtp-1.0.6.ebuild 25 Sep 2010 02:37:13 -0000 1.1
52 +++ libesmtp-1.0.6.ebuild 28 Sep 2010 10:22:41 -0000 1.2
53 @@ -1,10 +1,9 @@
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libesmtp/libesmtp-1.0.6.ebuild,v 1.1 2010/09/25 02:37:13 radhermit Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libesmtp/libesmtp-1.0.6.ebuild,v 1.2 2010/09/28 10:22:41 ssuominen Exp $
58
59 EAPI=3
60 -
61 -inherit toolchain-funcs libtool
62 +inherit libtool
63
64 DESCRIPTION="lib that implements the client side of the SMTP protocol"
65 HOMEPAGE="http://www.stafford.uklinux.net/libesmtp/"
66 @@ -13,36 +12,28 @@
67 LICENSE="LGPL-2.1 GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
70 -IUSE="debug ssl threads"
71 +IUSE="debug ssl static-libs threads"
72
73 -DEPEND="ssl? ( dev-libs/openssl )"
74 -RDEPEND="${DEPEND}"
75 +RDEPEND="ssl? ( dev-libs/openssl )"
76 +DEPEND="${RDEPEND}"
77
78 src_prepare() {
79 elibtoolize
80 }
81
82 src_configure() {
83 - local myconf
84 -
85 - if [[ $(gcc-major-version) == 2 ]]; then
86 - myconf="${myconf} --disable-isoc"
87 - fi
88 -
89 econf \
90 + --disable-dependency-tracking \
91 + $(use_enable static-libs static) \
92 --enable-all \
93 - $(use_with ssl openssl) \
94 $(use_enable threads pthreads) \
95 $(use_enable debug) \
96 - ${myconf}
97 -
98 - if [[ $(gcc-major-version) == 3 ]] && [[ $(gcc-minor-version) == 3 ]]; then
99 - sed -i "s:-Wsign-promo::g" Makefile
100 - fi
101 + $(use_with ssl openssl)
102 }
103
104 src_install() {
105 - emake DESTDIR="${D}" install || die "emake install failed"
106 - dodoc AUTHORS INSTALL ChangeLog NEWS Notes README TODO
107 - dohtml doc/api.xml
108 + emake DESTDIR="${D}" install || die
109 + dodoc AUTHORS ChangeLog NEWS Notes README TODO
110 + insinto /usr/share/doc/${PF}/xml
111 + doins doc/api.xml
112 }