1 |
mr_bones_ 12/06/29 20:11:51 |
2 |
|
3 |
Modified: pingus-0.7.6.ebuild ChangeLog |
4 |
Log: |
5 |
use the latest boost |
6 |
|
7 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 games-puzzle/pingus/pingus-0.7.6.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/pingus/pingus-0.7.6.ebuild?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/pingus/pingus-0.7.6.ebuild?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/pingus/pingus-0.7.6.ebuild?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: pingus-0.7.6.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.6.ebuild,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- pingus-0.7.6.ebuild 24 May 2012 18:06:07 -0000 1.5 |
23 |
+++ pingus-0.7.6.ebuild 29 Jun 2012 20:11:51 -0000 1.6 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.6.ebuild,v 1.5 2012/05/24 18:06:07 mr_bones_ Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.6.ebuild,v 1.6 2012/06/29 20:11:51 mr_bones_ Exp $ |
29 |
|
30 |
EAPI=2 |
31 |
inherit eutils flag-o-matic scons-utils toolchain-funcs games |
32 |
@@ -21,8 +21,26 @@ |
33 |
media-libs/libpng |
34 |
dev-libs/boost" |
35 |
|
36 |
-src_compile() { |
37 |
+src_prepare() { |
38 |
+ # how do I hate boost? Let me count the ways... |
39 |
+ local boost_ver=$(best_version ">=dev-libs/boost-1.36") |
40 |
+ |
41 |
+ boost_ver=${boost_ver/*boost-/} |
42 |
+ boost_ver=${boost_ver%.*} |
43 |
+ boost_ver=${boost_ver/./_} |
44 |
+ |
45 |
+ einfo "Using boost version ${boost_ver}" |
46 |
+ append-cxxflags \ |
47 |
+ -I/usr/include/boost-${boost_ver} |
48 |
+ append-ldflags \ |
49 |
+ -L/usr/$(get_libdir)/boost-${boost_ver} |
50 |
+ export BOOST_INCLUDEDIR="/usr/include/boost-${boost_ver}" |
51 |
+ export BOOST_LIBRARYDIR="/usr/$(get_libdir)/boost-${boost_ver}" |
52 |
+ |
53 |
strip-flags |
54 |
+} |
55 |
+ |
56 |
+src_compile() { |
57 |
escons \ |
58 |
CXX="$(tc-getCXX)" \ |
59 |
CCFLAGS="${CXXFLAGS}" \ |
60 |
|
61 |
|
62 |
|
63 |
1.41 games-puzzle/pingus/ChangeLog |
64 |
|
65 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/pingus/ChangeLog?rev=1.41&view=markup |
66 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/pingus/ChangeLog?rev=1.41&content-type=text/plain |
67 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/pingus/ChangeLog?r1=1.40&r2=1.41 |
68 |
|
69 |
Index: ChangeLog |
70 |
=================================================================== |
71 |
RCS file: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v |
72 |
retrieving revision 1.40 |
73 |
retrieving revision 1.41 |
74 |
diff -u -r1.40 -r1.41 |
75 |
--- ChangeLog 24 May 2012 18:06:07 -0000 1.40 |
76 |
+++ ChangeLog 29 Jun 2012 20:11:51 -0000 1.41 |
77 |
@@ -1,6 +1,9 @@ |
78 |
# ChangeLog for games-puzzle/pingus |
79 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
80 |
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.40 2012/05/24 18:06:07 mr_bones_ Exp $ |
81 |
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.41 2012/06/29 20:11:51 mr_bones_ Exp $ |
82 |
+ |
83 |
+ 29 Jun 2012; Michael Sterrett <mr_bones_@g.o> pingus-0.7.6.ebuild: |
84 |
+ use the latest boost |
85 |
|
86 |
24 May 2012; Michael Sterrett <mr_bones_@g.o> pingus-0.7.6.ebuild: |
87 |
Add strip-flags for bug #396149 |