MASTER_SITE_BACKUP= \
{DIST_SUBDIR} \
{DIST_SUBDIR} \ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} \
ftp://ftp5.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} /
#ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR} /
MASTER_SITE_OVERRIDE= ${MASTER_SITE_BACKUP}
MASTER_SITE_GNOME=ftp://ftp5.freebsd.org/pub/FreeBSD/distfiles/gnome2/
#使用wget代替 ports 中的下载工具
FETCH_CMD= wget
FETCH_BEFORE_ARGS= -c -t 1
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes#使用 axel 多线程下载工具,但时候容易出问题
#FETCH_CMD=axel
#DISABLE_SIZE=yes
CPUTYPE=athlon # 我的CPU是AMD2200+ 也就是athlon 一般用 i686 就好
CFLAGS= -march=athlon -O2 -pipe -fomit-frame-pointer # -march 的参数要和 CPUTYPE 一致
CXXFLAGS+= -march=athlon -O2 -pipe -fomit-frame-pointer # -march 的参数要和 CPUTYPE 一致
#CFLAGS+= -mfpmath=sse -mmmx -msse -m3dnow -maccumulate-outgoing-args -minline-all-stringops
#CXXFLAGS+= -fmemoize-lookups -fsave-memoized #C++代码优化
#MODULES_OVERRIDE = linux acpi sound/sound sound/driver/ds1 ntfs # 编译只需要的模块
WITHOUT_MODULES = aic # 编译内核时去除不需要的模块
WANT_NTFS_MODULE=yes
#WITH_OPTIMIZED_CFLAGS=yes
#WITH_OPTIMIZED_CXXFLAGS=yes
#WITH_OPTIMIZE=yes ## 这三条是尽量使用更高级编译优化
WITH_CJK=yes
X_WINDOW_SYSTEM=xorg # 让系统知道正在使用哪种X11
NO_SENDMAIL=true ## 尽量不使用SENDMAIL
NO_I4B=true ## 尽量不实用ISDN For BSD
NO_GAMES=true ## 不安装所有游戏
NO_FORTRAN=true # do not build g77 and related libraries
NO_VINUM=true # do not build Vinum utilities
NO_BLUETOOTH=true # do not build Bluetooth related stuff
NO_AUTHPF=true # do not build and install authpf (setuid/gid)
NOUUCP=true # do not build uucp related programs
NO_PROFILE=true # Avoid compiling profiled libraries
#WITH_APACHE2=yes
#APACHE_PORT=www/apache2
#BATCH=yes ## 安静编译,编译时跳过所有提问。适用于某些隔夜一次性编译程序的用户。
WITH_SETUID_LUIT=yes ## 不使用本项的话,运行xterm会出现luit错误的问题
WITH_GTK2=yes ## 尽量使用GTK2为gtk应用程序的运行库
WANT_HUGE_STACK_SIZE=yes ## 为Python代码的应用程序提供巨大的Stack
WITH_GLX=yes ## 为某些应用程序提供GLX加速绘图支持
WITH_TTF_BYTECODE_ENABLED=yes ## 为某些应用程序提供双字节支持
WITH_LANG=zh
WITH_LINUX=yes
WITH_FREEBSD_AGP=yes
WITH_GUI=yes
WITHOUT_RUNTIME_CPUDETECTION=yes
# 以下是所有多媒体编码选项
WITH_CDPARANOIA=yes
WITH_AALIB=yes
WITH_ESOUND=yes
WITH_FAAD=yes
WITH_FLAC=yes
WITH_FREETYPE=yes
WITH_GDKPIXBUF=yes
WITH_GSM=yes
WITH_HERMES=yes
WITH_JPEG=yes
WITH_LADSPA=yes
WITH_LAME=yes
WITH_LIBA52=yes
WITH_LIBAUDIOFILE=yes
WITH_LIBCACA=yes
WITH_LIBFAME=yes
WITH_LIBMIKMOD=yes
WITH_LIBMPEG2=yes
WITH_LIBMUSICBRAINZ=yes
WITH_LIBSHOUT=yes
WITH_LIBSIDPLAY=yes
WITH_LIBSNDFILE=yes
WITH_LIBTHEORA=yes
WITH_MAD=yes
WITH_NAS=yes
WITH_PANGO=yes
WITH_PNG=yes
WITH_SDL=yes
WITH_SMOOTHWAVE=yes
WITH_SPEEX=yes
WITH_SWFDEC=yes
WITH_VORBIS=yes
WITH_VORBISIDEC=yes
WITH_XINE=yes
WITH_XVID=yes
PERL_VER=5.8.8
PERL_VERSION=5.8.8
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
阅读(1094) | 评论(0) | 转发(0) |