Lines 415-433
Link Here
|
415 |
kernel_is 2 6 || kernel_is 2 5 |
415 |
kernel_is 2 6 || kernel_is 2 5 |
416 |
} |
416 |
} |
417 |
|
417 |
|
418 |
# Capture the sources type and set DEPENDs |
418 |
# Capture the sources type and set some basic variables. |
|
|
419 |
# See bug #469696 for discussion of *DEPENDs. |
419 |
if [[ ${ETYPE} == sources ]]; then |
420 |
if [[ ${ETYPE} == sources ]]; then |
420 |
DEPEND="!build? ( sys-apps/sed |
421 |
DEPEND="!build? ( sys-apps/sed )" |
421 |
>=sys-devel/binutils-2.11.90.0.31 )" |
422 |
RDEPEND="!build? ( sys-apps/sed |
422 |
RDEPEND="!build? ( >=sys-libs/ncurses-5.2 |
423 |
>=sys-devel/binutils-2.11.90.0.31 |
423 |
sys-devel/make |
424 |
sys-apps/coreutils |
|
|
425 |
sys-apps/diffutils |
426 |
sys-apps/findutils |
427 |
sys-apps/grep |
428 |
sys-apps/net-tools |
429 |
sys-apps/which |
430 |
sys-devel/make |
431 |
sys-devel/gcc |
432 |
virtual/awk |
424 |
dev-lang/perl |
433 |
dev-lang/perl |
425 |
sys-devel/bc )" |
434 |
ncurses? ( >=sys-libs/ncurses-5.2 ) |
|
|
435 |
modules? ( sys-apps/kmod ) |
436 |
gtk? ( virtual/pkgconfig |
437 |
dev-libs/glib:2 |
438 |
x11-libs/gtk+:2 |
439 |
gnome-base/libglade:2.0 |
440 |
) |
441 |
qt4? ( virtual/pkgconfig |
442 |
sys-devel/gcc[cxx] |
443 |
dev-qt/qtcore:4[qt3support] |
444 |
dev-qt/qtgui:4[qt3support] |
445 |
dev-qt/qt3support:4 |
446 |
) |
447 |
lzo? ( app-arch/lzop ) |
448 |
lzma? ( app-arch/xz-utils ) |
449 |
gzip? ( app-arch/gzip ) |
450 |
bzip2? ( app-arch/bzip2 ) |
451 |
initramfs? ( app-arch/cpio ) |
452 |
)" |
426 |
PDEPEND="!build? ( virtual/dev-manager )" |
453 |
PDEPEND="!build? ( virtual/dev-manager )" |
|
|
454 |
REQUIRED_USE="!build? ( || ( lzo lzma gzip bzip2 ) )" |
427 |
|
455 |
|
428 |
SLOT="${PVR}" |
456 |
SLOT="${PVR}" |
429 |
DESCRIPTION="Sources based on the Linux Kernel." |
457 |
DESCRIPTION="Sources based on the Linux Kernel." |
430 |
IUSE="symlink build" |
458 |
IUSE="symlink build +modules ncurses gtk qt4 lzo lzma gzip bzip2 initramfs" |
431 |
|
459 |
|
432 |
# Bug #266157, deblob for libre support |
460 |
# Bug #266157, deblob for libre support |
433 |
if [[ -z ${K_PREDEBLOBBED} ]] ; then |
461 |
if [[ -z ${K_PREDEBLOBBED} ]] ; then |
Lines 770-776
Link Here
|
770 |
use deblob && \ |
798 |
use deblob && \ |
771 |
K_SECURITY_UNSUPPORTED=deblob |
799 |
K_SECURITY_UNSUPPORTED=deblob |
772 |
|
800 |
|
773 |
# if we are to forcably symlink, delete it if it already exists first. |
801 |
# if we are to forcibly symlink, delete it if it already exists first. |
774 |
if [[ ${K_SYMLINK} > 0 ]]; then |
802 |
if [[ ${K_SYMLINK} > 0 ]]; then |
775 |
[[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux |
803 |
[[ -h ${ROOT}usr/src/linux ]] && rm ${ROOT}usr/src/linux |
776 |
MAKELINK=1 |
804 |
MAKELINK=1 |
Lines 788-793
Link Here
|
788 |
# Don't forget to make directory for sysfs |
816 |
# Don't forget to make directory for sysfs |
789 |
[[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys |
817 |
[[ ! -d ${ROOT}sys ]] && kernel_is 2 6 && mkdir ${ROOT}sys |
790 |
|
818 |
|
|
|
819 |
if ! use ncurses && ! use gtk && ! use qt4; then |
820 |
echo |
821 |
ewarn "You have neither of the USE flags ncurses/gtk/qt4 turned on." |
822 |
ewarn "Without these libraries you will be limited to very simple, line-based" |
823 |
ewarn "kernel configuration tools (make config, make oldconfig and similar)." |
824 |
echo |
825 |
fi |
826 |
|
791 |
echo |
827 |
echo |
792 |
elog "If you are upgrading from a previous kernel, you may be interested" |
828 |
elog "If you are upgrading from a previous kernel, you may be interested" |
793 |
elog "in the following document:" |
829 |
elog "in the following document:" |