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/x11-misc/xmbdfed/xmbdfed-4.7_p1-r1.ebuild,v 1.1 2009/01/01 01:33:50 matsuu Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmbdfed/xmbdfed-4.7_p1-r1.ebuild,v 1.1 2009/01/01 01:33:50 matsuu Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=2 |
6 |
|
5 |
inherit eutils multilib toolchain-funcs |
7 |
inherit eutils multilib toolchain-funcs |
6 |
|
8 |
|
7 |
MY_P="${P/_p*}" |
9 |
MY_P="${P/_p*}" |
Lines 26-38
Link Here
|
26 |
|
28 |
|
27 |
S="${WORKDIR}/${MY_P}" |
29 |
S="${WORKDIR}/${MY_P}" |
28 |
|
30 |
|
29 |
src_unpack() { |
31 |
src_prepare() { |
30 |
unpack ${A} |
|
|
31 |
cd "${S}" |
32 |
epatch "${DISTDIR}/${P/_p/-patch}" |
32 |
epatch "${DISTDIR}/${P/_p/-patch}" |
33 |
epatch "${FILESDIR}/${P}-gcc4.patch" |
33 |
epatch "${FILESDIR}/${P}-gcc4.patch" |
34 |
epatch "${FILESDIR}/${P}-gentoo.patch" |
34 |
epatch "${FILESDIR}/${P}-gentoo.patch" |
35 |
sed -i -e "/^LIBS/s:/usr/lib:/usr/$(get_libdir):" Makefile || die |
35 |
sed -i -e "/^LIBS/s:/usr/lib:/usr/$(get_libdir):" Makefile || die |
|
|
36 |
sed -i -e "s/getline/${PN}_getline/" bdfgname.c || die |
36 |
} |
37 |
} |
37 |
|
38 |
|
38 |
src_compile() { |
39 |
src_compile() { |