1 |
flameeyes 08/04/20 18:16:36 |
2 |
|
3 |
Modified: mpfc-1.3.7-r1.ebuild ChangeLog |
4 |
Log: |
5 |
Add a patch to fix building with --as-needed, also patch pre-autotools files and run eautoreconf rather than patching post-autotools files which might lead to unexpected results. |
6 |
(Portage version: 2.1.5_rc5) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 media-sound/mpfc/mpfc-1.3.7-r1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpfc/mpfc-1.3.7-r1.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpfc/mpfc-1.3.7-r1.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpfc/mpfc-1.3.7-r1.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: mpfc-1.3.7-r1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpfc/mpfc-1.3.7-r1.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- mpfc-1.3.7-r1.ebuild 13 Jan 2008 15:30:32 -0000 1.2 |
22 |
+++ mpfc-1.3.7-r1.ebuild 20 Apr 2008 18:16:35 -0000 1.3 |
23 |
@@ -1,8 +1,8 @@ |
24 |
# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/mpfc-1.3.7-r1.ebuild,v 1.2 2008/01/13 15:30:32 aballier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/mpfc-1.3.7-r1.ebuild,v 1.3 2008/04/20 18:16:35 flameeyes Exp $ |
28 |
|
29 |
-inherit eutils multilib |
30 |
+inherit eutils autotools |
31 |
|
32 |
DESCRIPTION="Music Player For Console" |
33 |
HOMEPAGE="http://mpfc.sourceforge.net/" |
34 |
@@ -18,15 +18,14 @@ |
35 |
|
36 |
src_unpack() { |
37 |
unpack ${A} |
38 |
- |
39 |
- # $(get_libdir) fixes |
40 |
cd "${S}" |
41 |
- find . -name 'Makefile.in' | |
42 |
- xargs grep ^libdir | |
43 |
- cut -f1 -d: | |
44 |
- xargs sed -i "s:^\(libdir.*\)/lib/\(.*\)$:\1/$(get_libdir)/\2:" || die |
45 |
+ |
46 |
+ epatch "${FILESDIR}/${P}-libdir.patch" |
47 |
epatch "${FILESDIR}/${PN}-gcc4.patch" |
48 |
- epatch "${FILESDIR}/${PN}-mathlib.patch" |
49 |
+ epatch "${FILESDIR}/${P}-mathlib.patch" |
50 |
+ epatch "${FILESDIR}/${P}-asneeded.patch" |
51 |
+ |
52 |
+ AT_M4DIR="m4" eautoreconf |
53 |
} |
54 |
|
55 |
src_compile() { |
56 |
|
57 |
|
58 |
|
59 |
1.20 media-sound/mpfc/ChangeLog |
60 |
|
61 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpfc/ChangeLog?rev=1.20&view=markup |
62 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpfc/ChangeLog?rev=1.20&content-type=text/plain |
63 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpfc/ChangeLog?r1=1.19&r2=1.20 |
64 |
|
65 |
Index: ChangeLog |
66 |
=================================================================== |
67 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpfc/ChangeLog,v |
68 |
retrieving revision 1.19 |
69 |
retrieving revision 1.20 |
70 |
diff -u -r1.19 -r1.20 |
71 |
--- ChangeLog 13 Jan 2008 15:30:32 -0000 1.19 |
72 |
+++ ChangeLog 20 Apr 2008 18:16:35 -0000 1.20 |
73 |
@@ -1,6 +1,14 @@ |
74 |
# ChangeLog for media-sound/mpfc |
75 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
76 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/ChangeLog,v 1.19 2008/01/13 15:30:32 aballier Exp $ |
77 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpfc/ChangeLog,v 1.20 2008/04/20 18:16:35 flameeyes Exp $ |
78 |
+ |
79 |
+ 20 Apr 2008; Diego Pettenò <flameeyes@g.o> |
80 |
+ +files/mpfc-1.3.7-asneeded.patch, +files/mpfc-1.3.7-libdir.patch, |
81 |
+ +files/mpfc-1.3.7-mathlib.patch, -files/mpfc-mathlib.patch, |
82 |
+ mpfc-1.3.7-r1.ebuild: |
83 |
+ Add a patch to fix building with --as-needed, also patch pre-autotools |
84 |
+ files and run eautoreconf rather than patching post-autotools files which |
85 |
+ might lead to unexpected results. |
86 |
|
87 |
13 Jan 2008; Alexis Ballier <aballier@g.o> |
88 |
+files/mpfc-mathlib.patch, mpfc-1.3.7-r1.ebuild: |
89 |
|
90 |
|
91 |
|
92 |
-- |
93 |
gentoo-commits@l.g.o mailing list |