1 |
commit: 770c93005f9110e932c54137ea7371275931fc96 |
2 |
Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com> |
3 |
AuthorDate: Fri Jul 27 23:30:13 2018 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 28 00:38:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770c9300 |
7 |
|
8 |
x11-misc/gccmakedep: add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
x11-misc/gccmakedep/gccmakedep-9999.ebuild | 39 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/x11-misc/gccmakedep/gccmakedep-9999.ebuild b/x11-misc/gccmakedep/gccmakedep-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..dbd7fd22934 |
18 |
--- /dev/null |
19 |
+++ b/x11-misc/gccmakedep/gccmakedep-9999.ebuild |
20 |
@@ -0,0 +1,39 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+DESCRIPTION="create dependencies in makefiles using 'gcc -M'" |
27 |
+HOMEPAGE="https://www.x.org/wiki/ https://cgit.freedesktop.org/" |
28 |
+ |
29 |
+if [[ ${PV} == 9999 ]]; then |
30 |
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/util/${PN}.git" |
31 |
+ inherit autotools git-r3 |
32 |
+ # x11-misc/util-macros only required on live ebuilds |
33 |
+ LIVE_DEPEND=">=x11-misc/util-macros-1.18" |
34 |
+else |
35 |
+ SRC_URI="mirror://xorg/util/${P}.tar.bz2" |
36 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
37 |
+fi |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+IUSE="" |
42 |
+ |
43 |
+DEPEND=" |
44 |
+ ${LIVE_DEPEND} |
45 |
+ x11-base/xorg-proto |
46 |
+" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ local econfargs=( |
55 |
+ --disable-selective-werror |
56 |
+ ) |
57 |
+ |
58 |
+ econf "${econfargs[@]}" |
59 |
+} |