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-admin/paxtest/paxtest-0.9.7_pre5.ebuild,v 1.1 2009/06/29 22:32:39 idl0r Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/paxtest-0.9.7_pre5.ebuild,v 1.1 2009/06/29 22:32:39 idl0r Exp $ |
4 |
|
4 |
|
5 |
inherit eutils multilib |
5 |
EAPI=2 |
|
|
6 |
|
7 |
inherit eutils multilib toolchain-funcs |
6 |
|
8 |
|
7 |
MY_P=${P/_/-} |
9 |
MY_P=${P/_/-} |
8 |
|
10 |
|
Lines 45-57
Link Here
|
45 |
usr/$(get_libdir)/${PN}/execbss |
47 |
usr/$(get_libdir)/${PN}/execbss |
46 |
usr/$(get_libdir)/${PN}/anonmap" |
48 |
usr/$(get_libdir)/${PN}/anonmap" |
47 |
|
49 |
|
48 |
src_unpack() { |
50 |
src_prepare() { |
49 |
unpack ${A} |
|
|
50 |
cd "${S}" |
51 |
|
52 |
mv Makefile.psm Makefile || die |
51 |
mv Makefile.psm Makefile || die |
53 |
epatch "${FILESDIR}/${P}-Makefile.patch" \ |
52 |
epatch "${FILESDIR}/${P}-Makefile.patch" \ |
54 |
"${FILESDIR}/${P}-missing-includes.patch" |
53 |
"${FILESDIR}/${P}-missing-includes.patch" |
|
|
54 |
# respect CC, LD and LDFLAGS |
55 |
sed -i "s/CC := gcc/CC := $(tc-getCC)/" Makefile |
56 |
sed -i "s/LD := ld/LD := $(tc-getLD)/" Makefile |
57 |
sed -i "s/LDFLAGS :=/LDFLAGS := ${LDFLAGS}/" Makefile |
55 |
} |
58 |
} |
56 |
|
59 |
|
57 |
src_compile() { |
60 |
src_compile() { |