Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libmix: ChangeLog libmix-2.05-r5.ebuild libmix-2.05-r4.ebuild
Date: Sun, 23 Jan 2011 10:32:36
Message-Id: 20110123103225.A61B420057@flycatcher.gentoo.org
1 xarthisius 11/01/23 10:32:25
2
3 Modified: ChangeLog
4 Added: libmix-2.05-r5.ebuild
5 Removed: libmix-2.05-r4.ebuild
6 Log:
7 Make static libs optional and don't build them with -fPIC. Drop no-net2 flag as currently net-libs/libnet:1.0 doesn't produce shared libs. Prepared for addition of USE=net2, initial fix for compilation with libnet-1.0. Thanks to Angelos for help. Clean ebuild. Drop old.
8
9 (Portage version: 2.2.0_alpha16/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.14 dev-libs/libmix/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libmix/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 9 Aug 2010 15:50:28 -0000 1.13
25 +++ ChangeLog 23 Jan 2011 10:32:25 -0000 1.14
26 @@ -1,6 +1,16 @@
27 # ChangeLog for dev-libs/libmix
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmix/ChangeLog,v 1.13 2010/08/09 15:50:28 hwoarang Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmix/ChangeLog,v 1.14 2011/01/23 10:32:25 xarthisius Exp $
32 +
33 +*libmix-2.05-r5 (23 Jan 2011)
34 +
35 + 23 Jan 2011; Kacper Kowalik <xarthisius@g.o> -libmix-2.05-r4.ebuild,
36 + +libmix-2.05-r5.ebuild, -files/libmix-2.05-autotools.patch,
37 + +files/libmix-2.05-gentoo.patch, +files/libmix-2.05-libnet.patch:
38 + Make static libs optional and don't build them with -fPIC. Drop no-net2 flag
39 + as currently net-libs/libnet:1.0 doesn't produce shared libs. Prepared for
40 + addition of USE=net2, initial fix for compilation with libnet-1.0. Thanks to
41 + Angelos for help. Clean ebuild. Drop old.
42
43 09 Aug 2010; Markos Chandras <hwoarang@g.o> libmix-2.05-r4.ebuild:
44 Add --libdir paramteter on econf. Fixes bug #331515
45
46
47
48 1.1 dev-libs/libmix/libmix-2.05-r5.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/libmix-2.05-r5.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmix/libmix-2.05-r5.ebuild?rev=1.1&content-type=text/plain
52
53 Index: libmix-2.05-r5.ebuild
54 ===================================================================
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libmix/libmix-2.05-r5.ebuild,v 1.1 2011/01/23 10:32:25 xarthisius Exp $
58
59 EAPI="2"
60
61 inherit autotools base multilib toolchain-funcs
62
63 DESCRIPTION="Programs Crypto/Network/Multipurpose Library"
64 HOMEPAGE="http://mixter.void.ru/"
65 SRC_URI="http://mixter.void.ru/${P/.}.tgz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
70 IUSE="static-libs"
71 #IUSE="net2 static-libs"
72
73 #DEPEND="net2? ( virtual/libpcap net-libs/libnet:1.0 )"
74 #RDEPEND="${DEPEND}"
75
76 S=${WORKDIR}/${PN}-v${PV}
77
78 PATCHES=(
79 "${FILESDIR}"/${P}-fix-pattern.patch
80 "${FILESDIR}"/${P}-gentoo.patch
81 "${FILESDIR}"/${P}-libnet.patch
82 )
83
84 DOCS=( CHANGES )
85
86 pkg_setup() {
87 tc-export CC CXX
88 }
89
90 src_prepare(){
91 base_src_prepare
92 eautoreconf
93 }
94
95 # net-libs/libnet doesn't provide shared libs, cannot be used currently
96
97 src_configure() {
98 econf \
99 --libdir=/usr/$(get_libdir) \
100 $(use_enable static-libs static) \
101 --without-net2
102 # $(use_with net2)
103 }