1 |
eras 12/11/03 09:31:28 |
2 |
|
3 |
Modified: libspf2-1.2.9-r2.ebuild ChangeLog |
4 |
Log: |
5 |
Add static USE flag to control building static binaries |
6 |
|
7 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 mail-filter/libspf2/libspf2-1.2.9-r2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: libspf2-1.2.9-r2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- libspf2-1.2.9-r2.ebuild 3 Nov 2012 07:24:03 -0000 1.1 |
23 |
+++ libspf2-1.2.9-r2.ebuild 3 Nov 2012 09:31:28 -0000 1.2 |
24 |
@@ -1,9 +1,9 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild,v 1.1 2012/11/03 07:24:03 eras Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild,v 1.2 2012/11/03 09:31:28 eras Exp $ |
29 |
|
30 |
EAPI=4 |
31 |
-inherit eutils |
32 |
+inherit eutils autotools |
33 |
|
34 |
DESCRIPTION="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair." |
35 |
HOMEPAGE="http://www.libspf2.org" |
36 |
@@ -12,15 +12,31 @@ |
37 |
LICENSE="|| ( LGPL-2.1 BSD-2 )" |
38 |
SLOT="0" |
39 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
40 |
-IUSE="static-libs" |
41 |
+IUSE="static static-libs" |
42 |
|
43 |
DEPEND="" |
44 |
RDEPEND="!dev-perl/Mail-SPF-Query" |
45 |
+REQUIRED_USE="static? ( static-libs )" |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ if ! use static; then |
49 |
+ sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \ |
50 |
+ -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \ |
51 |
+ -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \ |
52 |
+ -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \ |
53 |
+ || die |
54 |
+ eautoreconf |
55 |
+ fi |
56 |
+} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ econf \ |
60 |
+ $(use_enable static-libs static) |
61 |
+} |
62 |
|
63 |
src_install() { |
64 |
emake DESTDIR="${D}" install |
65 |
dodoc README TODO INSTALL |
66 |
|
67 |
- use static-libs || rm -f "${D}"/usr/lib*/libspf2.la \ |
68 |
- "${D}"/usr/lib*/libspf2.a |
69 |
+ use static-libs || rm -f "${D}"/usr/lib*/libspf2.la |
70 |
} |
71 |
|
72 |
|
73 |
|
74 |
1.46 mail-filter/libspf2/ChangeLog |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/libspf2/ChangeLog?rev=1.46&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/libspf2/ChangeLog?rev=1.46&content-type=text/plain |
78 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/libspf2/ChangeLog?r1=1.45&r2=1.46 |
79 |
|
80 |
Index: ChangeLog |
81 |
=================================================================== |
82 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v |
83 |
retrieving revision 1.45 |
84 |
retrieving revision 1.46 |
85 |
diff -u -r1.45 -r1.46 |
86 |
--- ChangeLog 3 Nov 2012 09:12:04 -0000 1.45 |
87 |
+++ ChangeLog 3 Nov 2012 09:31:28 -0000 1.46 |
88 |
@@ -1,6 +1,9 @@ |
89 |
# ChangeLog for mail-filter/libspf2 |
90 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
91 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v 1.45 2012/11/03 09:12:04 ago Exp $ |
92 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v 1.46 2012/11/03 09:31:28 eras Exp $ |
93 |
+ |
94 |
+ 03 Nov 2012; Eray Aslan <eras@g.o> libspf2-1.2.9-r2.ebuild: |
95 |
+ Add static USE flag to control building static binaries |
96 |
|
97 |
03 Nov 2012; <ago@g.o> libspf2-1.2.9.ebuild: |
98 |
Stable for amd64, wrt bug #440058 |