Dear list, since I still have the impression that there is a lack of documentation for mk.conf flags, I would like to post my own mk.conf currently in use and working. It is used on my home network and machines with the same architecture can reuse built packages over NFS share once it is in /usr/pkgsrc/packages. Sincerely, Adrian Immanuel KIESS -- With greetings from Leipzig, Germany. Adrian Immanuel Kieß Administrator & programmer Unix / Perl / LaTeX mail: <adrian (at) kiess.at> www: http://www.kiess.at
# mk.conf / P3.lan.dac # # Author: Adrian Immanuel Kiess < adrian%immanuelK.net@localhost > # # Last edit: 2013.09.17 # .ifdef BSD_PKG_MK PKG_DBDIR=/var/db/pkg LOCALBASE=/usr/pkg VARBASE=/var FETCH_CMD=/usr/pkg/bin/ftp PKG_TOOLS_BIN=/usr/pkg/sbin PKGMANDIR=man .endif #.sinclude "/usr/pkg/share/mk/cpuflags.mk" #BUILD_MAKE_FLAGS=-j 3 #_ACCEPTABLE=YES ALLOW_VULNERABLE_PACKAGES=TRUE BSDSRCDIR?=/usr/src #CFLAGS+= -O3 -march=pentium3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays CLEANDEPENDS?=yes #CONFIGURE_ENV+= XEXTENSIONS_LIBS="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib" #DEPENDS_TARGET=bin-install #DEPENDS_TARGET=package #DISTCC_HOSTS=g6 m2n localhost FAILOVER_FETCH=YES #MAKE_JOBS=6 MASTER_SITE_OVERRIDE+=ftp://ftp.de.netbsd.org/pub/NetBSD/packages/distfiles/ MKCRYPTO=YES MKIPFILTER=YES MKMANZ=YES MKSENDMAIL=NO MKTTINTERP=YES # freetype2 bytecode interpreter MKUNPRIVED=YES MKUUCP=NO MKX11=YES MOZILLA_USE_LINUX=NO MOZILLA_USE_XFT=YES MPLAYER_DISABLE_DRIVERS=arts sdl MPLAYER_ENABLE_RUNTIME_CPU_DETECTION?=NO OBJHOSTNAME=yes #PACKAGES=/usr/pkgsrc/packages/${LOWER_OPSYS}-${OS_VERSION}-${MACHINE_ARCH}${CPU_DIR} #PACKAGES+=${_PKGSRCDIR}/packages/${MACHINE}-${OS_VERSION} PACKAGES=${PKGSRCDIR}/packages/${MACHINE}-${OS_VERSION} PKGCHK_CONF=/usr/pkgsrc/pkgchk_lan.dac.conf PKGSRC_COMPILER=gcc # distcc gcc PKGSRCDIR=/usr/pkgsrc #PKGSRC_COMPILER=distcc gcc # distcc gcc #PKG_DEFAULT_OPTIONS+=-arts -aspell -gtkspell -ispell -sdl aac alsa bktr cups gnome gtk java ldap mutt-compressed-mbox nas sasl starttls ogg oss truetype PKG_DEFAULT_OPTIONS += -arts -aspell -gtkspell -ispell -samba aac alsa bktr cups faac gnome gtk java mutt-compressed-mbox sasl starttls ogg oss truetype xvid dbus cairo curl dri dvdread firefox3 gpgme gstreamer theora threads lame vorbis kerberos PKG_OPTIONS.cups=slp PKG_OPTIONS.evince+=dvi djvu PKG_OPTIONS.ffmpeg+=faac theora x264 xvid #PKG_OPTIONS.freetype2+=truetype PKG_OPTIONS.gtk2+=cups PKG_OPTIONS.libgnomeprint+=cups PKG_OPTIONS.mplayer+=-mplayer-runtime-cpudetection PKG_REGISTER_SHELLS=YES SKIP_LICENSE_CHECK=yes #UPDATE_TARGET=package # bin-install USE_AUDIT_PACKAGES ?= yes USE_CUPS=YES #USE_DESTDIR=YES USE_ESOUND=YES USE_MMX?=YES WRKOBJDIR=/usr/obj/pkg X11SRCDIR=/usr/xsrc X11_TYPE=native # xorg #X11_TYPE=modular # xorg
Attachment:
signature.asc
Description: This is a digitally signed message part