Lines 2-8
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/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild,v 1.7 2010/01/25 18:53:40 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild,v 1.7 2010/01/25 18:53:40 armin76 Exp $ |
4 |
|
4 |
|
5 |
inherit eutils sgml-catalog |
5 |
inherit eutils sgml-catalog toolchain-funcs |
6 |
|
6 |
|
7 |
MY_PV=${PV/_p/-0.} |
7 |
MY_PV=${PV/_p/-0.} |
8 |
|
8 |
|
Lines 38-49
Link Here
|
38 |
epatch "${FILESDIR}/${PN}-0.9.13-letter.patch" |
38 |
epatch "${FILESDIR}/${PN}-0.9.13-letter.patch" |
39 |
epatch "${FILESDIR}/${PN}-0.9.20-lib64.patch" |
39 |
epatch "${FILESDIR}/${PN}-0.9.20-lib64.patch" |
40 |
epatch "${FILESDIR}/${PN}-0.9.21-malloc.patch" |
40 |
epatch "${FILESDIR}/${PN}-0.9.21-malloc.patch" |
|
|
41 |
epatch "${FILESDIR}/${PN}-0.9.21-ldflags.patch" |
41 |
} |
42 |
} |
42 |
src_compile() { |
43 |
src_compile() { |
43 |
local myconf="--with-installed-iso-entities" |
44 |
local myconf="--with-installed-iso-entities" |
44 |
|
45 |
|
45 |
econf $myconf || die "./configure failed" |
46 |
econf $myconf || die "./configure failed" |
46 |
emake CFLAGS="${CFLAGS}" || die "Compilation failed" |
47 |
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die "Compilation failed" |
47 |
} |
48 |
} |
48 |
|
49 |
|
49 |
src_install() { |
50 |
src_install() { |