Link Here
|
6 |
#we use this next variable to avoid duplicating stuff on cvs |
6 |
#we use this next variable to avoid duplicating stuff on cvs |
7 |
GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files |
7 |
GFILESDIR=${PORTDIR}/sys-kernel/linux-sources/files |
8 |
SPARCFILEDIR=${PORTDIR}/sys-kernel/sparc-sources/files |
8 |
SPARCFILEDIR=${PORTDIR}/sys-kernel/sparc-sources/files |
9 |
OKV=2.4.18 |
9 |
OKV=2.4.19 |
10 |
KV=2.4.18 |
10 |
KV=2.4.19 |
11 |
S=${WORKDIR}/linux-${KV} |
11 |
S=${WORKDIR}/linux-${KV} |
12 |
|
12 |
|
13 |
#These are *stock* 2.4.18 headers, for niceness. |
13 |
#These are *stock* 2.4.18 headers, for niceness. |
Link Here
|
32 |
then |
32 |
then |
33 |
#console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. |
33 |
#console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. |
34 |
DEPEND=">=sys-devel/binutils-2.11.90.0.31" |
34 |
DEPEND=">=sys-devel/binutils-2.11.90.0.31" |
35 |
RDEPEND =">=sys-libs/ncurses-5.2 sys-devel/perl >=sys-apps/modutils-2.4.2 sys-devel/make" |
35 |
RDEPEND=">=sys-libs/ncurses-5.2 sys-devel/perl >=sys-apps/modutils-2.4.2 sys-devel/make" |
36 |
if [ "$KERNEL_ARCH" = "sparc64" ] |
36 |
if [ "$KERNEL_ARCH" = "sparc64" ] |
37 |
then |
37 |
then |
38 |
# Need special compiler for this platform |
38 |
# Need special compiler for this platform |
Link Here
|
45 |
src_unpack() { |
45 |
src_unpack() { |
46 |
cd ${WORKDIR} |
46 |
cd ${WORKDIR} |
47 |
unpack linux-${OKV}.tar.bz2 |
47 |
unpack linux-${OKV}.tar.bz2 |
48 |
mv linux linux-${KV} || die |
48 |
[ -d linux-${KV} ] || die |
49 |
cd ${S} |
49 |
cd ${S} |
50 |
|
50 |
|
51 |
#sometimes we have icky kernel symbols; this seems to get rid of them |
51 |
#sometimes we have icky kernel symbols; this seems to get rid of them |