14 |
# |
# |
15 |
# while toochain boostrap, only build c,c++ and after that rebuild the whole toolchain: |
# while toochain boostrap, only build c,c++ and after that rebuild the whole toolchain: |
16 |
# linux-libc-headers -> binutils -> libc -> gcc -> binutils -> gcc -> libc |
# linux-libc-headers -> binutils -> libc -> gcc -> binutils -> gcc -> libc |
17 |
MyLanguages=c,c++ #,java,ada,fortran,go,objc,obj-c++ |
MyLanguages=c,c++,java,ada,fortran,go,objc,obj-c++ |
18 |
|
|
19 |
# 1=bootsrap ada, using precompiled gnat binaries |
# 1=bootsrap ada, using precompiled gnat binaries |
20 |
# 0=no bootstrap, build ada with system gnat - needs sys-dev/gnat |
# 0=no bootstrap, build ada with system gnat - needs sys-dev/gnat |
21 |
ADA_BOOTSTRAP="1" |
ADA_BOOTSTRAP="0" |
22 |
|
|
23 |
SPLIT_PACKAGES="libgcc libssp libgomp libquadmath libstdc++ gcc" |
SPLIT_PACKAGES="libgcc libssp libgomp libquadmath libstdc++ gcc" |
24 |
|
|
50 |
if lang_enabled java |
if lang_enabled java |
51 |
then |
then |
52 |
SPLIT_PACKAGES+=" libgcj gcc-gcj" |
SPLIT_PACKAGES+=" libgcj gcc-gcj" |
53 |
JAVA_DEPEND=">= dev-java/eclipse-ecj-3.7 |
JAVA_DEPEND=">= dev-java/eclipse-ecj-3.6 |
54 |
>= dev-java/fastjar-0.98 |
>= dev-java/fastjar-0.98 |
55 |
>= sys-apps/file-5 |
>= sys-apps/file-5 |
56 |
>= app-arch/unzip-6 |
>= app-arch/unzip-6 |
57 |
>= app-arch/zip-3 |
>= app-arch/zip-3 |
58 |
>= media-libs/alsa-lib-1.0.24 |
>= media-libs/alsa-lib-1.0.25 |
59 |
>= x11-libs/libSM-1.2 |
>= x11-libs/libSM-1.2 |
60 |
>= x11-libs/libXtst-1.2 |
>= x11-libs/libXtst-1.2 |
61 |
>= dev-libs/glib2-2.28 |
>= dev-libs/glib2-2.32 |
62 |
>= x11-libs/gtk2+-2.24 |
>= x11-libs/gtk2+-2.24 |
63 |
>= media-libs/libart_lgpl-2.3.21" |
>= media-libs/libart_lgpl-2.3.21" |
64 |
|
|
138 |
then |
then |
139 |
# add gnat to SDEPEND |
# add gnat to SDEPEND |
140 |
SDEPEND="${SDEPEND} |
SDEPEND="${SDEPEND} |
141 |
>= sys-dev/gcc-gnat-4.7" |
>= sys-dev/gcc-gnat-4.6" |
142 |
fi |
fi |
143 |
|
|
144 |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |
SRCFILE="${PNAME}-${PVER}.tar.bz2" |