From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/pcmciautils: pcmciautils-018_p8-r1.ebuild ChangeLog |
Date: | Mon, 01 Sep 2014 05:17:18 |
Message-Id: | 20140901051712.EEF744684@oystercatcher.gentoo.org |
1 | ssuominen 14/09/01 05:17:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pcmciautils-018_p8-r1.ebuild |
5 | Log: |
6 | Fix handling of USE="staticsocket" wrt #521856 by Mehmet Giritli |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 | |
10 | Revision Changes Path |
11 | 1.51 sys-apps/pcmciautils/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.51&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.51&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?r1=1.50&r2=1.51 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v |
20 | retrieving revision 1.50 |
21 | retrieving revision 1.51 |
22 | diff -u -r1.50 -r1.51 |
23 | --- ChangeLog 30 Jul 2014 19:41:09 -0000 1.50 |
24 | +++ ChangeLog 1 Sep 2014 05:17:12 -0000 1.51 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-apps/pcmciautils |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.50 2014/07/30 19:41:09 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.51 2014/09/01 05:17:12 ssuominen Exp $ |
30 | + |
31 | +*pcmciautils-018_p8-r1 (01 Sep 2014) |
32 | + |
33 | + 01 Sep 2014; Samuli Suominen <ssuominen@g.o> |
34 | + +pcmciautils-018_p8-r1.ebuild: |
35 | + Fix handling of USE="staticsocket" wrt #521856 by Mehmet Giritli |
36 | |
37 | 30 Jul 2014; Samuli Suominen <ssuominen@g.o> pcmciautils-018_p8.ebuild: |
38 | Use shorter get_udevdir() instead of the longer deprecated udev_get_udevdir() |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pcmciautils-018_p8-r1.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/pcmciautils/pcmciautils-018_p8-r1.ebuild,v 1.1 2014/09/01 05:17:12 ssuominen Exp $ |
52 | |
53 | EAPI=5 |
54 | inherit eutils flag-o-matic linux-info toolchain-funcs udev |
55 | |
56 | DEB_REV=${PV#*_p} |
57 | MY_PV=${PV%_p*} |
58 | |
59 | DESCRIPTION="PCMCIA userspace utilities for Linux" |
60 | HOMEPAGE="http://packages.qa.debian.org/pcmciautils" |
61 | SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz |
62 | mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_REV}.debian.tar.gz" |
63 | |
64 | LICENSE="GPL-2" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86" |
67 | IUSE="debug staticsocket" |
68 | |
69 | RDEPEND="virtual/modutils" |
70 | DEPEND="${RDEPEND} |
71 | virtual/yacc |
72 | sys-devel/flex" |
73 | |
74 | S=${WORKDIR}/${PN}-${MY_PV} |
75 | |
76 | pkg_setup() { |
77 | CONFIG_CHECK="~PCMCIA" |
78 | linux-info_pkg_setup |
79 | |
80 | kernel_is lt 2 6 32 && ewarn "${P} requires at least kernel 2.6.32." |
81 | |
82 | mypcmciaopts=( |
83 | STARTUP=$(usex staticsocket false true) |
84 | exec_prefix=/usr |
85 | UDEV=true |
86 | DEBUG=false |
87 | STATIC=false |
88 | V=true |
89 | udevdir="$(get_udevdir)" |
90 | CC="$(tc-getCC)" |
91 | LD="$(tc-getCC)" |
92 | AR="$(tc-getAR)" |
93 | STRIP=true |
94 | RANLIB="$(tc-getRANLIB)" |
95 | OPTIMIZATION="${CFLAGS} ${CPPFLAGS}" |
96 | DESTDIR="${D}" |
97 | ) |
98 | |
99 | use debug && append-cppflags -DDEBUG |
100 | } |
101 | |
102 | src_prepare() { |
103 | epatch \ |
104 | "${WORKDIR}"/debian/patches/no-modprobe-rules.patch \ |
105 | "${WORKDIR}"/debian/patches/remove-libsysfs-dep.patch |
106 | |
107 | sed -i \ |
108 | -e '/CFLAGS/s:-fomit-frame-pointer::' \ |
109 | -e '/dir/s:sbin:bin:g' \ |
110 | Makefile || die |
111 | } |
112 | |
113 | src_compile() { |
114 | emake "${mypcmciaopts[@]}" |
115 | } |
116 | |
117 | src_install() { |
118 | emake "${mypcmciaopts[@]}" install |
119 | |
120 | dodoc doc/*.txt |
121 | } |