Lines 6-23
Link Here
|
6 |
|
6 |
|
7 |
DESCRIPTION="A useful diagnostic, instructional, and debugging tool" |
7 |
DESCRIPTION="A useful diagnostic, instructional, and debugging tool" |
8 |
HOMEPAGE="http://sourceforge.net/projects/strace/" |
8 |
HOMEPAGE="http://sourceforge.net/projects/strace/" |
9 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
9 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
|
|
10 |
selinux? ( mirror://gentoo/${P}-selinux.patch )" |
10 |
|
11 |
|
11 |
LICENSE="as-is" |
12 |
LICENSE="as-is" |
12 |
SLOT="0" |
13 |
SLOT="0" |
13 |
KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
14 |
KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
14 |
IUSE="static" |
15 |
IUSE="static selinux" |
15 |
|
16 |
|
16 |
DEPEND="virtual/libc" |
17 |
DEPEND="virtual/libc" |
17 |
|
18 |
|
18 |
src_unpack() { |
19 |
src_unpack() { |
19 |
unpack ${A} |
20 |
unpack ${A} |
20 |
cd ${S} |
21 |
cd ${S} |
|
|
22 |
|
23 |
use selinux && epatch ${DISTDIR}/${P}-selinux.patch |
24 |
|
21 |
gnuconfig_update |
25 |
gnuconfig_update |
22 |
|
26 |
|
23 |
# Compile fails with -O3 on sparc but works on x86 |
27 |
# Compile fails with -O3 on sparc but works on x86 |