1 |
mgorny 14/03/30 09:16:07 |
2 |
|
3 |
Modified: pkgconf-9999.ebuild ChangeLog |
4 |
Added: pkgconf-0.9.3-r1.ebuild |
5 |
Log: |
6 |
Enable multilib support, bug #506062. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.13 dev-util/pkgconf/pkgconf-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: pkgconf-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- pkgconf-9999.ebuild 17 Oct 2012 15:51:49 -0000 1.12 |
24 |
+++ pkgconf-9999.ebuild 30 Mar 2014 09:16:07 -0000 1.13 |
25 |
@@ -1,14 +1,14 @@ |
26 |
-# Copyright 1999-2012 Gentoo Foundation |
27 |
+# Copyright 1999-2014 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild,v 1.12 2012/10/17 15:51:49 ryao Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-9999.ebuild,v 1.13 2014/03/30 09:16:07 mgorny Exp $ |
31 |
|
32 |
-EAPI="4" |
33 |
+EAPI=5 |
34 |
|
35 |
if [[ ${PV} == "9999" ]] ; then |
36 |
EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git" |
37 |
- inherit autotools git-2 |
38 |
+ inherit autotools git-2 multilib-minimal |
39 |
else |
40 |
- inherit autotools vcs-snapshot |
41 |
+ inherit autotools multilib-minimal vcs-snapshot |
42 |
SRC_URI="https://github.com/pkgconf/pkgconf/tarball/${P} -> ${P}.tar.gz" |
43 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" |
44 |
fi |
45 |
@@ -28,15 +28,26 @@ |
46 |
!dev-util/pkgconfig-openbsd[pkg-config] |
47 |
)" |
48 |
|
49 |
+MULTILIB_CHOST_TOOLS=( |
50 |
+ /usr/bin/pkgconf |
51 |
+) |
52 |
+ |
53 |
src_prepare() { |
54 |
[[ -e configure ]] || eautoreconf |
55 |
+ |
56 |
+ if use pkg-config; then |
57 |
+ MULTILIB_CHOST_TOOLS+=( |
58 |
+ /usr/bin/pkg-config |
59 |
+ ) |
60 |
+ fi |
61 |
} |
62 |
|
63 |
-src_configure() { |
64 |
+multilib_src_configure() { |
65 |
+ ECONF_SOURCE=${S} \ |
66 |
econf $(use_enable strict) |
67 |
} |
68 |
|
69 |
-src_install() { |
70 |
+multilib_src_install() { |
71 |
default |
72 |
use pkg-config \ |
73 |
&& dosym pkgconf /usr/bin/pkg-config \ |
74 |
|
75 |
|
76 |
|
77 |
1.83 dev-util/pkgconf/ChangeLog |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/ChangeLog?rev=1.83&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/ChangeLog?rev=1.83&content-type=text/plain |
81 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/ChangeLog?r1=1.82&r2=1.83 |
82 |
|
83 |
Index: ChangeLog |
84 |
=================================================================== |
85 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/pkgconf/ChangeLog,v |
86 |
retrieving revision 1.82 |
87 |
retrieving revision 1.83 |
88 |
diff -u -r1.82 -r1.83 |
89 |
--- ChangeLog 13 Feb 2014 19:20:29 -0000 1.82 |
90 |
+++ ChangeLog 30 Mar 2014 09:16:07 -0000 1.83 |
91 |
@@ -1,6 +1,12 @@ |
92 |
# ChangeLog for dev-util/pkgconf |
93 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
94 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/ChangeLog,v 1.82 2014/02/13 19:20:29 ryao Exp $ |
95 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/ChangeLog,v 1.83 2014/03/30 09:16:07 mgorny Exp $ |
96 |
+ |
97 |
+*pkgconf-0.9.3-r1 (30 Mar 2014) |
98 |
+ |
99 |
+ 30 Mar 2014; Michał Górny <mgorny@g.o> +pkgconf-0.9.3-r1.ebuild, |
100 |
+ pkgconf-9999.ebuild: |
101 |
+ Enable multilib support, bug #506062. |
102 |
|
103 |
13 Feb 2014; Richard Yao <ryao@g.o> pkgconf-0.9.3.ebuild: |
104 |
keyword on ~x64-solaris |
105 |
|
106 |
|
107 |
|
108 |
1.1 dev-util/pkgconf/pkgconf-0.9.3-r1.ebuild |
109 |
|
110 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/pkgconf-0.9.3-r1.ebuild?rev=1.1&view=markup |
111 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/pkgconf/pkgconf-0.9.3-r1.ebuild?rev=1.1&content-type=text/plain |
112 |
|
113 |
Index: pkgconf-0.9.3-r1.ebuild |
114 |
=================================================================== |
115 |
# Copyright 1999-2014 Gentoo Foundation |
116 |
# Distributed under the terms of the GNU General Public License v2 |
117 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconf/pkgconf-0.9.3-r1.ebuild,v 1.1 2014/03/30 09:16:07 mgorny Exp $ |
118 |
|
119 |
EAPI=5 |
120 |
|
121 |
if [[ ${PV} == "9999" ]] ; then |
122 |
EGIT_REPO_URI="git://github.com/pkgconf/pkgconf.git" |
123 |
inherit autotools git-2 multilib-minimal |
124 |
else |
125 |
inherit eutils multilib-minimal |
126 |
SRC_URI="http://tortois.es/~nenolod/distfiles/${P}.tar.bz2" |
127 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris" |
128 |
fi |
129 |
|
130 |
DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89" |
131 |
HOMEPAGE="https://github.com/pkgconf/pkgconf" |
132 |
|
133 |
LICENSE="BSD-1" |
134 |
SLOT="0" |
135 |
IUSE="+pkg-config strict" |
136 |
|
137 |
DEPEND="" |
138 |
RDEPEND="${DEPEND} |
139 |
pkg-config? ( |
140 |
!dev-util/pkgconfig |
141 |
!dev-util/pkg-config-lite |
142 |
!dev-util/pkgconfig-openbsd[pkg-config] |
143 |
)" |
144 |
|
145 |
MULTILIB_CHOST_TOOLS=( |
146 |
/usr/bin/pkgconf |
147 |
) |
148 |
|
149 |
src_prepare() { |
150 |
[[ -e configure ]] || eautoreconf |
151 |
|
152 |
if use pkg-config; then |
153 |
MULTILIB_CHOST_TOOLS+=( |
154 |
/usr/bin/pkg-config |
155 |
) |
156 |
fi |
157 |
} |
158 |
|
159 |
multilib_src_configure() { |
160 |
ECONF_SOURCE=${S} \ |
161 |
econf $(use_enable strict) |
162 |
} |
163 |
|
164 |
multilib_src_install() { |
165 |
default |
166 |
use pkg-config \ |
167 |
&& dosym pkgconf /usr/bin/pkg-config \ |
168 |
|| rm "${ED}"/usr/share/aclocal/pkg.m4 \ |
169 |
|| die |
170 |
} |