Apple Macbook/make.conf
From Gentoo Linux Wiki
Choose one of the following make.conf. Keep in mind that if you use the extended versions is best to recompile the system after chrooting. So gremilings don't grow inside your Macbook.
Contents |
[edit] i686 Standard
Note that the USE flag has a minimum set of entries.
# GNU Compiler Collection options.
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# Portage options.
# You might also want to consider using FEATURES="ccache distlocks userpriv sandbox"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
PORTDIR="/usr/portage"
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR="/var/log/portage"
FEATURES="ccache parallel-fetch"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="1G"
AUTOCLEAN="yes"
# Portage server address.
# Clear the list and select two closest mirrors from http://www.gentoo.org/main/en/mirrors2.xml
GENTOO_MIRRORS="
http://distfiles.gentoo.org
http://gentoo.cites.uiuc.edu/pub/gentoo/
http://gentoo.osuosl.org/
http://gentoo.chem.wisc.edu/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
# Portage synchronization address.
# Uncomment one closest to you. You can find more mirrors from gentoo.org
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
# Avoid using ~keywords as they are unstable.
ACCEPT_KEYWORDS="x86"
# Languages you want to support in programs.
# Add the ones you need.
LINGUAS="en"
# Selected hardware.
ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse synaptics evdev"
VIDEO_CARDS="intel"
#CONFIG_MAC_EMUMOUSEBTN=y
# Selected USE-Flags.
USE="qt3 qt4 kde dvd alsa cdr -gtk -gnome"
[edit] i686 Extended
Here the USE flag has a a lot of entries. You will have way more support for many packages using this make.conf. But if you do, is best to recompile the system to avoid the gremilings. This is explained in the Macbook wiki. Another approach is to use the Standard make.conf above and set the proper flags to individual packages using the /etc/portage/package.use file.
# GNU Compiler Collection options.
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# Portage options.
# You might also want to consider using FEATURES="ccache distlocks userpriv sandbox"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
PORTDIR="/usr/portage"
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR="/var/log/portage"
FEATURES="ccache distcc sandbox parallel-fetch"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="1G"
AUTOCLEAN="yes"
# Portage server address.
# Clear the list and select two closest mirrors from http://www.gentoo.org/main/en/mirrors2.xml
GENTOO_MIRRORS="
http://distfiles.gentoo.org
http://gentoo.cites.uiuc.edu/pub/gentoo/
http://gentoo.osuosl.org/
http://gentoo.chem.wisc.edu/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
# Portage synchronization address.
# Uncomment one closest to you. You can find more mirrors from gentoo.org
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
# Avoid using ~keywords as they are unstable.
ACCEPT_KEYWORDS="x86"
# Languages you want to support in programs.
# Add the ones you need.
LINGUAS="en"
# Selected hardware.
ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse synaptics evdev"
VIDEO_CARDS="intel"
# Selected USE-Flags.
USE="16bit alsa apm applet aqua aqua_theme -arts audiofile avahi avi \
berkdb bigger-fonts bitmap-fonts bluetooth bzip2 cairo ccache cddb \
cdparanoia cdr cdrom cli loop-aes ctype -cups dba dbus dhcp dri dvd \
dvdread eds elibc_glibc emboss encode esd ethereal exif emerald expat \
-fam fame fastbuild -ffmpeg firefox flac -foomaticdb \
force-cgi-redirect fortran ftp gd gdbm gif glut glx gmp nautilus gnome gpm \
gstreamer gtk gtk2 gtkhtml gzip hal hddtemp -howl idn imlib \
ipv6 jabber java jpeg jpeg2k -kernel_linux lcms libg++ libwww \
lm_sensors xcd mad memlimit menubar mikmod mjpeg mmx mmxext mng \
-motif -mozilla mp3 mp4live mpeg mpeg2 mplayer mdnsresponder-compat ncurses nls \
nptl nvidia nvram ogg oggvorbis opengl -oss -pam pango pcre pdf \
pdflib perl png posix python -qt3 -qt4 quicktime readline reiserfs \
rhythmbox -samba sdl session simplexml slang smp soap sockets \
sox -spamassassin speedo spell spl sse sse-filters sse2 ssl \
svg svga symlink syslog tcltk tcpd theora tiff timidity \
tokenizer transcode truetype truetype-fonts type1 type1-fonts udev \
unicode userland_GNU utf8 v4l v4l2 vcd vcdimager videos vidix \
vorbis win32codecs wma wma123 wxwindows xine xinerama xml \
xml2 xpm xsl xv zlib nsplugin -xmms ieee1394 \
ldap logitech-mouse xcomposite xscreensaver -zeroconf \
-kde musepack sndfile css dvdr artworkextra glitz \
curl X aac real -nvtv -directfb fbcon mysql mythtv apache2 dvb \
usb aiglx aalib -macmenu xkb qt3support -pie edb injection \
madwifi"
[edit] amd64 Standard
Note that the USE flag has a minimum set of entries.
# GNU Compiler Collection options.
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# Portage options.
# You might also want to consider using FEATURES="ccache distlocks userpriv sandbox"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
PORTDIR="/usr/portage"
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR="/var/log/portage"
FEATURES="ccache parallel-fetch"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="1G"
AUTOCLEAN="yes"
# Portage server address.
# Clear the list and select two closest mirrors from http://www.gentoo.org/main/en/mirrors2.xml
GENTOO_MIRRORS="
http://distfiles.gentoo.org
http://gentoo.cites.uiuc.edu/pub/gentoo/
http://gentoo.osuosl.org/
http://gentoo.chem.wisc.edu/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
# Portage synchronization address.
# Uncomment one closest to you. You can find more mirrors from gentoo.org
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
# Avoid using ~keywords as they are unstable.
ACCEPT_KEYWORDS="x86"
# Languages you want to support in programs.
# Add the ones you need.
LINGUAS="en"
# Selected hardware.
ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse synaptics evdev"
VIDEO_CARDS="intel"
#CONFIG_MAC_EMUMOUSEBTN=y
# Selected USE-Flags.
USE="qt3 qt4 kde dvd alsa cdr -gtk -gnome"
[edit] amd64 Extended
Here the USE flag has a a lot of entries. You will have way more support for many packages using this make.conf. But if you do, is best to recompile the system to avoid the gremilings. This is explained in the Macbook wiki. Another approach is to use the Standard make.conf above and set the proper flags to individual packages using the /etc/portage/package.use file.
# GNU Compiler Collection options.
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# Portage options.
# You might also want to consider using FEATURES="ccache distlocks userpriv sandbox"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
PORTDIR="/usr/portage"
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR="/var/log/portage"
FEATURES="ccache distcc sandbox parallel-fetch"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="1G"
AUTOCLEAN="yes"
# Portage server address.
# Clear the list and select two closest mirrors from http://www.gentoo.org/main/en/mirrors2.xml
GENTOO_MIRRORS="
http://distfiles.gentoo.org
http://gentoo.cites.uiuc.edu/pub/gentoo/
http://gentoo.osuosl.org/
http://gentoo.chem.wisc.edu/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
# Portage synchronization address.
# Uncomment one closest to you. You can find more mirrors from gentoo.org
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
# Avoid using ~keywords as they are unstable.
ACCEPT_KEYWORDS="x86"
# Languages you want to support in programs.
# Add the ones you need.
LINGUAS="en"
# Selected hardware.
ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse synaptics evdev"
VIDEO_CARDS="intel"
# Selected USE-Flags.
USE="16bit alsa apm applet aqua aqua_theme -arts audiofile avahi avi \
berkdb bigger-fonts bitmap-fonts bluetooth bzip2 cairo ccache cddb \
cdparanoia cdr cdrom cli loop-aes ctype -cups dba dbus dhcp dri dvd \
dvdread eds elibc_glibc emboss encode esd ethereal exif emerald expat \
-fam fame fastbuild -ffmpeg firefox flac -foomaticdb \
force-cgi-redirect fortran ftp gd gdbm gif glut glx gmp nautilus gnome gpm \
gstreamer gtk gtk2 gtkhtml gzip hal hddtemp -howl idn imlib \
ipv6 jabber java jpeg jpeg2k -kernel_linux lcms libg++ libwww \
lm_sensors xcd mad memlimit menubar mikmod mjpeg mmx mmxext mng \
-motif -mozilla mp3 mp4live mpeg mpeg2 mplayer mdnsresponder-compat ncurses nls \
nptl nvidia nvram ogg oggvorbis opengl -oss -pam pango pcre pdf \
pdflib perl png posix python -qt3 -qt4 quicktime readline reiserfs \
rhythmbox -samba sdl session simplexml slang smp soap sockets \
sox -spamassassin speedo spell spl sse sse-filters sse2 ssl \
svg svga symlink syslog tcltk tcpd theora tiff timidity \
tokenizer transcode truetype truetype-fonts type1 type1-fonts udev \
unicode userland_GNU utf8 v4l v4l2 vcd vcdimager videos vidix \
vorbis win32codecs wma wma123 wxwindows xine xinerama xml \
xml2 xpm xsl xv zlib nsplugin -xmms ieee1394 \
ldap logitech-mouse xcomposite xscreensaver -zeroconf \
-kde musepack sndfile css dvdr artworkextra glitz \
curl X aac real -nvtv -directfb fbcon mysql mythtv apache2 dvb \
usb aiglx aalib -macmenu xkb qt3support -pie edb injection \
madwifi"
