Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-20060917-r1.ebuild,v 1.5 2009/06/04 13:31:07 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-20060917-r1.ebuild,v 1.5 2009/06/04 13:31:07 ssuominen Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=2 |
6 |
|
5 |
inherit eutils |
7 |
inherit eutils |
6 |
|
8 |
|
7 |
MY_PV="2006-09-17" |
9 |
MY_PV="2006-09-17" |
Lines 31-40
Link Here
|
31 |
|
33 |
|
32 |
S=${WORKDIR}/${PN} |
34 |
S=${WORKDIR}/${PN} |
33 |
|
35 |
|
34 |
src_unpack() { |
36 |
src_prepare() { |
35 |
unpack ${A} |
|
|
36 |
cd "${S}" |
37 |
|
38 |
#Fix file named |
37 |
#Fix file named |
39 |
epatch "${FILESDIR}"/filename-friendliness-${PV}.patch |
38 |
epatch "${FILESDIR}"/filename-friendliness-${PV}.patch |
40 |
|
39 |
|
Lines 46-51
Link Here
|
46 |
-e 's/"pkg-config freetype2 gtk+"/"pkg-config freetype2 gtk+-2.0"/' \ |
45 |
-e 's/"pkg-config freetype2 gtk+"/"pkg-config freetype2 gtk+-2.0"/' \ |
47 |
Jamrules \ |
46 |
Jamrules \ |
48 |
|| die "sed failed" |
47 |
|| die "sed failed" |
|
|
48 |
|
49 |
#Fix getline function name conflict with glibc |
50 |
sed -i \ |
51 |
-e "s/getline/${PN}_getline/" \ |
52 |
terps/alan3/parse.c terps/alan2/parse.c \ |
53 |
|| die "sed'ing getline failed" |
49 |
} |
54 |
} |
50 |
|
55 |
|
51 |
src_compile() { |
56 |
src_compile() { |