1 |
flameeyes 09/06/02 10:29:45 |
2 |
|
3 |
Modified: ChangeLog matroxset-0.4.ebuild |
4 |
Log: |
5 |
Don't use the broken makefile to build, just build directly in src_compile. Closes bug #247908 (--as-needed) and bug #240840 (ignored flags). |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.15 media-video/matroxset/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/matroxset/ChangeLog?rev=1.15&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/matroxset/ChangeLog?rev=1.15&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/matroxset/ChangeLog?r1=1.14&r2=1.15 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-video/matroxset/ChangeLog,v |
18 |
retrieving revision 1.14 |
19 |
retrieving revision 1.15 |
20 |
diff -u -r1.14 -r1.15 |
21 |
--- ChangeLog 27 Nov 2007 12:15:19 -0000 1.14 |
22 |
+++ ChangeLog 2 Jun 2009 10:29:45 -0000 1.15 |
23 |
@@ -1,6 +1,12 @@ |
24 |
# ChangeLog for media-video/matroxset |
25 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/matroxset/ChangeLog,v 1.14 2007/11/27 12:15:19 zzam Exp $ |
27 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/matroxset/ChangeLog,v 1.15 2009/06/02 10:29:45 flameeyes Exp $ |
29 |
+ |
30 |
+ 02 Jun 2009; Diego E. Pettenò <flameeyes@g.o> |
31 |
+ matroxset-0.4.ebuild: |
32 |
+ Don't use the broken makefile to build, just build directly in |
33 |
+ src_compile. Closes bug #247908 (--as-needed) and bug #240840 (ignored |
34 |
+ flags). |
35 |
|
36 |
27 Nov 2007; Matthias Schwarzott <zzam@g.o> matroxset-0.3.ebuild, |
37 |
matroxset-0.4.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.6 media-video/matroxset/matroxset-0.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/matroxset/matroxset-0.4.ebuild?rev=1.6&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/matroxset/matroxset-0.4.ebuild?rev=1.6&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/matroxset/matroxset-0.4.ebuild?r1=1.5&r2=1.6 |
46 |
|
47 |
Index: matroxset-0.4.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/media-video/matroxset/matroxset-0.4.ebuild,v |
50 |
retrieving revision 1.5 |
51 |
retrieving revision 1.6 |
52 |
diff -u -r1.5 -r1.6 |
53 |
--- matroxset-0.4.ebuild 27 Nov 2007 12:15:19 -0000 1.5 |
54 |
+++ matroxset-0.4.ebuild 2 Jun 2009 10:29:45 -0000 1.6 |
55 |
@@ -1,6 +1,8 @@ |
56 |
-# Copyright 1999-2007 Gentoo Foundation |
57 |
+# Copyright 1999-2009 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/matroxset/matroxset-0.4.ebuild,v 1.5 2007/11/27 12:15:19 zzam Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/matroxset/matroxset-0.4.ebuild,v 1.6 2009/06/02 10:29:45 flameeyes Exp $ |
61 |
+ |
62 |
+inherit toolchain-funcs |
63 |
|
64 |
IUSE="" |
65 |
|
66 |
@@ -8,16 +10,23 @@ |
67 |
HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/" |
68 |
SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/${P}.tar.gz" |
69 |
|
70 |
-DEPEND="virtual/libc |
71 |
- sys-libs/ncurses" |
72 |
+DEPEND="sys-libs/ncurses" |
73 |
+RDEPEND="${DEPEND}" |
74 |
|
75 |
SLOT="0" |
76 |
LICENSE="GPL-2" |
77 |
KEYWORDS="amd64 ppc x86" |
78 |
|
79 |
+doecho() { |
80 |
+ echo "$@" |
81 |
+ "$@" |
82 |
+} |
83 |
+ |
84 |
src_compile() { |
85 |
-# make clean || die |
86 |
- make all || die |
87 |
+ doecho $(tc-getCC) -o ${PN} \ |
88 |
+ ${CFLAGS} ${LDFLAGS} \ |
89 |
+ ${PN}.c -lncurses \ |
90 |
+ || die "build failed" |
91 |
|
92 |
#prepare small README |
93 |
cat >> "${S}"/README << _EOF_ |
94 |
@@ -30,7 +39,7 @@ |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
- dobin matroxset |
99 |
+ dobin matroxset || die |
100 |
|
101 |
- dodoc README |
102 |
+ dodoc README || die |
103 |
} |