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: /home/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.5.ebuild,v 1.1 2004/05/18 22:56:52 ciaranm Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-x86/sys-boot/silo/silo-1.4.5.ebuild,v 1.1 2004/05/18 22:56:52 ciaranm Exp $ |
4 |
|
4 |
|
5 |
inherit mount-boot |
5 |
inherit mount-boot gcc |
6 |
|
6 |
|
7 |
S=${WORKDIR}/${P} |
7 |
S=${WORKDIR}/${P} |
8 |
DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" |
8 |
DESCRIPTION="SPARC/UltraSPARC Improved Loader, a boot loader for sparc" |
Lines 18-23
PROVIDE="virtual/bootloader"
Link Here
|
18 |
DEPEND="sys-fs/e2fsprogs |
18 |
DEPEND="sys-fs/e2fsprogs |
19 |
sys-apps/sparc-utils" |
19 |
sys-apps/sparc-utils" |
20 |
|
20 |
|
|
|
21 |
src_unpack() { |
22 |
unpack ${A} |
23 |
$(gcc-getCC) -fstack-protector -S -o /dev/null -xc /dev/null >/dev/null 2>&1 && |
24 |
sed -i -e s:-Wall:'-Wall -fno-stack-protector':g ${S}/silo/Makefile |
25 |
} |
26 |
|
21 |
src_compile() { |
27 |
src_compile() { |
22 |
make ${MAKEOPTS} || die |
28 |
make ${MAKEOPTS} || die |
23 |
} |
29 |
} |