Subject: *sigh*
To: BSD Current Users <current-users@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 03/01/2002 01:33:41
tool build.sh -O /export/obj -D /altroot
...
/usr/src/tools/tools.NetBSD-1.5ZA-i386/bin/i386--netbsdelf-gcc -O2 -pipe \
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
-Wno-uninitialized -Werror -fpic -DELFSIZE=32 -DRTLD_RELOCATE_SELF \
-DLIBDIR=\"/usr/lib\" -D_PATH_RTLD=\"/usr/libexec/ld.elf_so\" \
-I/usr/src/libexec/ld.elf_so -DDEBUG -DRTLD_LOADER -D_RTLD_SOURCE \
-nostdinc -isystem /altroot/usr/include -c \
/usr/src/libexec/ld.elf_so/paths.c

nbmake: don't know how to make /altroot/usr/lib/libc_pic.a. Stop

nbmake: stopped in /usr/src/libexec/ld.elf_so
*** Error code 2

Stop.
nbmake: stopped in /usr/src/libexec/ld.elf_so
*** Error code 1

Stop.
nbmake: stopped in /usr/src/libexec
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src

----
# tool
#! /bin/sh -
#
P=`basename $0`
PATH=${PATH}:/usr/src
DEBUG=${DEBUG+`echo $DEBUG | tr : \\n | while read i;do case $i in $P) echo :;break;;esac;done`}
DPRINT=${DEBUG:+echo}
$DPRINT : "DEBUG=<$DEBUG>"
eval `uname -mrs | (read s r m; echo "MACHINE=$m REL=$r SYS=$s")`
argv=`getopt a:m: $@`
if [ $? != 0 ]; then
    echo "usage: $P [ -a MACHINE_ARCH ] [ -m MACHINE ] command"
    exit 2
fi
set -- $argv
for i
do
    case ${i} in
    -a)
	shift;
	MACHINE_ARCH=$1;
	shift;
	;;
    -m)
	shift;
	MACHINE=$1;
	shift;
	;;
    --)
	shift;
	break;
	;;
    esac
done
${DPRINT} eval TOOLDIR=/usr/src/tools/tools.${SYS}-${REL}-${MACHINE}
${DPRINT} eval PATH=${TOOLDIR}/bin:${PATH}
${DPRINT} eval MANPATH=${MANPATH:+${TOOLDIR}/man:$MANPATH}
${DPRINT} eval export TOOLDIR
${DPRINT} eval export MACHINE
${DPRINT} eval export SHELL
${DPRINT} eval export MANPATH
${DPRINT} eval SHELL=/bin/sh
${DPRINT} eval 'echo "MACHINE=<$MACHINE> TOOLDIR=<$TOOLDIR> SHELL=<$SHELL>"'
${DPRINT} $@
#---
#/etc/mk.conf
#
# mk.conf:  Rewritten from scratch using the /usr/src/BUILDING
# document as a starting point.
#

.ifndef DEBUGFLAGS
COPTS+=	-pipe
.else
COPTS+=	-O -pipe ${DEBUGFLAGS}
.endif

#HOST_CFLAGS+=	${LOCAL_CFLAGS}
####
# Basic configuration.  These variables are described for reference
# only and are not intended to be used except on the command line.
#

#DESTDIR=
# Directory to contain the built NetBSD system.  If set, special
# options are passed to the compilation tools to prevent their default
# use of the host system's /usr/include, /usr/lib and so forth.
# This pathname should not end with a slash (/) character; for
# installation into the system's root directory, set DESTDIR to an
# empty string.
#
# Default:  Empty string if USETOOLS is ``yes''; unset otherwise.
# DON'T MUCK WITH THIS IN HERE!

#MAKECONF=/etc/mk.conf
# The path to the make(1) configuration file.  Only settable in the
# process environment.
#
# Default: /etc/mk.conf

#UPDATE=
# If set, then all install operations intended to write to DESTDIR
# will compare file timestamps before installing, and skip the install
# phase if the destination files are up-to-date.  This also has
# implications on full builds.  Best set on the command line.
#
# Default: Unset.

#TOOLDIR=
# Directory to hold the host tools, once built.  This directory
# should be unique to a given host system and NetBSD source tree.
# However, multiple targets may share the same TOOLDIR; the target-
# dependent files have unique names.  If unset, a default based on
# the uname(1) information of the host platform will be created in
# the .OBJDIR of src/tools.
#
# Default: Unset.

#USETOOLS=no
# Indicates whether the tools specified by TOOLDIR should be used
# as part of a build in progress.  Must be set to "yes" if cross-
# compiling.
#
# yes	Use the tools from TOOLDIR.
#
# no	Do not use the tools from TOOLDIR, but refuse to build native
# 	compilation tool components that are version-specific for
#	that tool.
#
# never	Do not use the tools from TOOLDIR, even when building
#	native tool components.  This is similar to the traditional
# 	NetBSD build method, but does not verify that the compilation
# 	tools in use are up-to-date enough in order to build the tree
#	successfully.  This may cause build or runtime problems when
#	building the whole NetBSD source tree.
#
# Default: "yes" if building all or part of a whole NetBSD source
# tree (detected automagically); "no" otherwise (to preserve traditional
# semantics of the <bsd.*.mk> make(1) include files).


####
# Global build configuration.  These variables are set regardless
# of whether we're building packages or the full system.

### SHARE stuff
MKCATPAGES=yes
# Can be set to "yes" or "no".  Indicates whether preformatted
# plaintext manual pages will be created during a build.
#
# Default: "yes"

MKDOC=yes
# Can be set to "yes" or "no".  Indicates whether system documentation
# destined for /usr/share/doc will be installed during a build.
#
# Default: "yes"

MKINFO=yes
# Can be set to "yes" or "no".  Indicates whether GNU Info files,
# used for the documentation for most of the compilation tools, will be
# created and installed during a build.
#
# Default: "yes"

MKMAN=yes
# Can be set to "yes" or "no".  Indicates whether manual pages will
# be installed during a build.
#
# Default: "yes"

# MANZ=no
# Can be set to "yes" or "no".  Indicates whether manual pages will
# be installed gzipped.
#
# Default: unknown.

MKNLS=no
# Can be set to "yes" or "no".  Indicates whether Native Language System
# locale zone files will be compiled and installed during a build.
#
# Default: "yes"

MKSHARE=yes
# Can be set to "yes" or "no".  Indicates whether files destined
# to reside in /usr/share will be built and installed during a build.
# If set to "no", then all of MKCATPAGES, MKDOC, MKINFO, MKMAN and
# MKNLS will be set to "no" unconditionally.
#
# Default: "yes"

### OBJ stuff
# OBJHOSTMACHINE=yes
# Can be set to "yes" or "no".  If set to "yes", then for programs
# intended to be run on the compile host, the name, release and
# architecture of the host operating system will be suffixed to the
# name of the object directory created by "make obj" (this allows
# multiple host systems to compile NetBSD for a single target).  If
# set to "no", then programs built to be run on the compile host will
# use the same directory names as programs built to be run on the target.
#
# Default: "no"
# If yes, also requires...
#MKHOSTOBJ=${OBJHOSTMACHINE}
MKOBJMACHINE=yes
MKHOSTOBJ=yes

MKOBJ=yes
# Can be set to "yes" or "no".  Indicates whether object directories
# will be created when running "make obj".  If set to "no", then all
# built files will be located inside the regular source tree.
#
# Default: "yes"

#### BUILD/COMPILE stuff

MKCRYPTO=yes
# Can be set to "yes" or "no".  Indicates whether cryptographic
# code will be included in a build; provided for the benefit of
# countries that do not allow strong cryptography.  Will not affect
# use of the standard low-security password encryption system, crypt(3).
#
# Default: "yes"

MKLINT=no
# Can be set to "yes" or "no".  Indicates whether lint(1) will be
# run against portions of the NetBSD source code during the build, and
# whether lint libraries will be installed into /usr/libdata/lint.
#
# Default: "yes"

#MKPIC=yes
# Can be set to "yes" or "no" (possibly "notroot").  Indicates whether
# shared objects and libraries will be created and installed during a build.
# If set to "no", the entire built system will be statically linked.
# [20011228:  At the time of this writing, Luke Mewburn is working
#  on getting a dynamically linked root filesystem up and running.
#  I am preparing a "notroot" option so that binaries linked under
#  "/bin" and "/sbin" are built statically.]
#
# Default:  Platform dependent.  As of this writing, all platforms
# except for sh3 default to "yes".

MKPICINSTALL=no
# Can be set to "yes" or "no".  Indicates whether the ar(1) format
# libraries (lib*_pic.a), used to generate shared libraries, are
# installed during a build.
#
# Default: "yes"

MKPROFILE=no
# Can be set to "yes" or "no".  Indicates whether profiling libraries
# (lib*_p.a) will be built and installed during a build.
#
# Default: "yes"; however, some platforms turn off MKPROFILE by default
# at times due to toolchain problems with profiled code.
####
# Make variables for full builds.  These variables only affect the
# top level makefile, and not manual builds of subtrees of the NetBSD
# subtrees of the NetBSD source code.

#MKOBJDIRS=no
# Can be set to "yes" or "no".  Indicates whether object directories
# will be created automagically (via a "make obj" pass) at the start
# of a build.
#
# Default: "yes"

BSDOBJDIR=/export/obj
# Where are we going to PUT the objects?!?
# default: /usr/obj, which is really stupid.
# except that if we put /usr/src/obj in, the system attempts to symlink
# /usr/src/obj to itself.
# I'm going to complain about this.
# It's currently a known problem - todd vierling is working on it.

# NBUILDJOBS=3
# If set, specifies the number of parallel make(1) processes that
# should be run simultaneously.  This can speed up builds on SMP
# machines, or on machines with much more CPU power than I/O availability.
# This should be used instead of the make(1) option "-j", in order to
# ensure proper ordering of build components.
#
# Default: Unset.

#NOCLEANDIR=
# If set, avoids the "make cleandir" phase of a full build.  This has the
# effect of allowing only changed files in a source tree to be recompiled.
# This can speed up builds when updating only a few files in the tree.
#
# Default: Unset.

#NODISTRIBDIRS=yes
# If set, avoids the "make distrib-dirs" phase of a full build.  This
# skips running mtree(8) on DESTDIR, useful on systems where building
# as an unprivileged user, or where it is known that the system-wide
# mtree files have not changed.
#
# Default: Unset.

#RELEASEDIR=
# If set, specifies the directory to which a release(7) layout will
# be written at the end of a "make release".
#
# Default: Unset.

# This might be pkg-specific, but in case we put ANYthing else on board,
# we want these.
X11PREFIX=/usr/X11
# Default /usr/X11R6.  DO NOT USE X11BASE.

LOCALBASE=/usr/local
# Default /usr/pkg.

USE_XF86_4="Hell, yes!"
# Set this if you want to use X11R6.4 or 6.5.  Advantages over
# X11R6.3 are that they have better hardware acceleration and
# Truetype fonts are supported by default.
# If unset, or if set to "no", will build X11R6.3.

####
# The rest of these are PKG-specific.

.ifdef BSD_PKG_MK
#
# The following values are used to manage the packages collection as a whole.
#

PKGSRCDIR=/usr/src/pkg
# For some reason, this has not been defined...
#

LOCALBASE?=	/usr/local
# Where non-X-based packages will be installed
# Possible: any path
# Default: /usr/pkg

#CROSSBASE?=	/usr/local/cross
# Where "cross" category packages install
# Possible: any path
# Default: ${LOCALBASE}/cross

X11BASE?=	/usr/X11
# Where X11 is installed on the system.
# (and the default install path of X11 pkgs)
# Possible: any path
# Default: /usr/X11R6

MOTIFBASE=	/usr/X11
# Where Motif is installed on the system.
# Possible: any path
# Default: /usr/X11R6

DISTDIR=	${PKGSRCDIR}/distfiles
# Directory where original distribution
# files are stored.
# Possible: any path you like
# Default: /usr/pkgsrc/distfiles

#DIST_PATH=	/cdrom/0/distfiles:${HOME}/distfiles
# colon-delimited list of directories in which to search for
# ${DISTFILES} and ${PATCHFILES}.  If the requested file is not in any
# of the directories in ${DIST_PATH}, it will be downloaded into
# ${DISTDIR}.  If the requested file is in one of the directories in
# ${DIST_PATH}, a symbolic link will be made to it from ${DISTDIR}.
# ${DIST_PATH} directories will will be searched before ${DISTDIR},
# letting a CD hold the main distfiles archive, and local ${DISTDIR}
# hold any updated distfiles, for example.
# Possible:  any directories
# Default: none

PACKAGES=       /export/packages/${MACHINE_ARCH}
# Store generated packages on a per-architecture base
# Possible: any path you like
# Default: /usr/pkgsrc/packages

#PASSIVE_FETCH=
# Use ftp(1) in passive mode, for use behind filtering firewalls.
# (Set by default in ftp(1) in NetBSD-current)
# Possible: defined, not defined
# Default: not defined

PATCH_FUZZ_FACTOR?=-F3
# Fuzz factor to use when applying patches.  Will only be applied when
# using a patch(1) that understands -F.  This should be a "?="
# setting, since package Makefiles may set this value, before
# /etc/mk.conf is read.
# Possible: "-Fn" where n is a number, none
# Default: none

ACCEPTABLE_LICENSES=	shareware no-commercial-use no-profit fee-based-commercial-use
ACCEPTABLE_LICENSES+=	pine-license
# Whitespace-delimited list of the types of license which are
# acceptable for installation.  (apart from standard "free" licenses
# such as Berkeley/CMU and GPL).
# Possible:  shareware, no-commercial-use, no-profit, fee-based-commercial-use
# Default: none

#SPECIFIC_PKGS=
# Don't use the default of all packages (from the top-level of the
# pkgsrc tree), and use the values of the definitions
# SITE_SPECIFIC_PKGS, HOST_SPECIFIC_PKGS, GROUP_SPECIFIC_PKGS, and
# USER_SPECIFIC_PKGS.
# Possible: defined, not defined
# Default: not defined

#SITE_SPECIFIC_PKGS=
# List of packages that are wanted for each host on the site.  Each
# package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set

#HOST_SPECIFIC_PKGS=
# List of packages that are wanted for this particular host/machine.
# Each package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set

#GROUP_SPECIFIC_PKGS=
# List of packages that are wanted for this group of users.  Each
# package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set

#USER_SPECIFIC_PKGS=
# List of packages that are wanted for this particular user.  Each
# package in the list is of the form <category>/<package>.
# Possible: any combination of packages
# Default: not set

EXTRACT_USING_PAX=yes
# Use pax(1) to extract archives, rather than GNU tar.
# Possible: defined, not defined
# Default: not defined

FAILOVER_FETCH=yes
# Perform a checksum at "make fetch" time.  If the checksum doesn't
# match the stored value, try to retrieve the file from the next site
# in the list
# Possible:  defined, not defined
# Default: not defined

#MASTER_SORT=        .com .org .us .ac.at .at .de .ch .se .fi .no .au
# Whitespace delimited list of preferred download locations.
# MASTER_SITES will be reordered according to the hosts' address last
# components.
# Possible: list of domain name suffixes
# Default: none

#MASTER_SORT_REGEX=  ftp://.*/
# Same as MASTER_SORT, but takes a regular expression for more
# flexibility in matching.  Regexps defined here have higher priority
# than MASTER_SORT.  This example would prefer ftp transfers over
# anything else.
# Possible: Regexps as in awk(1)
# Default: none

#PATCH_DEBUG=
# Used to debug patches as they are applied
# Possible: defined, not defined
# Default: not defined

#PKG_FC=
# The fortran compiler used to compile fortran code contained in
# packages.
# Possible: any fortran compiler
# Default: none

#PRE_ROOT_CMD=${CHMOD} -R o+w ${WRKDIR}
# Command to be run by normal user, just before becoming root (see
# SU_CMD) to install the package.  For example, the command shown
# would allow root to write and modify files below ${WRKDIR}, if on an
# NFS -noroot file system.
# Possible: any shell commands
# Default: none

#SU_CMD=${SU} - root -c
# Command to perform before "make install", if the user does not have
# an effective uid of 0.  A possible substitute is "sudo -u root"
# Possible: su, sudo, or priv, with appropriate arguments
# Default: ${SU} - root -c

#FATAL_OBJECT_FMT_SKEW=yes
# If there is a pre-requisite package, which has a different object format
# from that currently being used, halt execution. One (rare) situation where
# it is possible for the difference to be harmless is where the pre-requisite
# package provides an executable, not a library.
# Possible: yes, no
# Default: yes

WARN_NO_OBJECT_FMT=yes
# Packages installed on a machine before OBJECT_FMT was added to the
# BUILD_DEFS definitions (on 29th September 1999) cannot say which
# object format they are in.  This will cause a warning to be displayed.
# Set this to "no" to stop the warning message being shown.
# Possible: yes, no
# Default: yes

SMART_MESSAGES=yes
# Display the make(1) target, and the current stack of packages being built,
# when displaying messages during package builds.
# Possible: defined, not defined
# Default: not defined

#
#	Definitions used only in the packages collection
#

AMANDA_USER=	backup
# Used in the amanda packages to specify the login user and group
# responsible for backups
# Possible: any user name
# Default: backup

AMANDA_SMB=
# Used in the amanda-client package to enable backup with smbclient
# Possible: defined, not defined
# Default: not defined

#AMANDA_VAR=	/var/amanda
# Specifies the directory in which amanda puts its logs and status
# files.
# Default: /var/amanda

APACHE_PERF_TUNING=	YES
# Optimize for maximum Apache performance.
# Possible: not defined, YES
# Default: not defined

APACHE_SUEXEC=	YES
# Enable support Switch User For Exec.  See
# http://www.apache.org/docs/suexec.html for more informations.
# Possible: not defined, YES
# Default: not defined

#BASH_STATIC=	YES
# Used in bash2 package to link it statically (for use as a root shell)
# Possible: not defined, YES
# Default: not defined

#BOOTSTRAP_EGCS=
# Used in egcs-current package to set bootstrap compile (two-stage)
# mode.
# Possible: defined, not defined
# Default: not defined

DEFAULT_IRC_SERVER=irc.concentric.net
# Used in ircII to set the default irc server.
# Possible: see the list at
# http://www.irchelp.org/irchelp/networks/servers/efnet.html
# Default: not defined

#DT_LAYOUT=
# Used by dt package to specify the keyboard layout.
# Possible: US, FI, FR, GER, DV
# Default: FI

EMACS_USE_POP=no
# Used by emacs package to determine whether pop support is enabled or not.
# Possible: yes, no
# Default: yes

#EMACS_USE_X
# Used by emacs package to determine whether X support is enabled or not.
# If defined, the value is directly passed as argument of --with-x.
# If not defined, the configure script will configure automatically.
# Possible: yes, no, not defined
# Default: not defined

#EMACS_USE_X_TOOLKIT
# Used by emacs package to determine what kind of toolkit support is enabled.
# If defined, the value is directly passed as argument of --with-x-toolkit.
# If not defined or defined to yes, the configure script will pick up an
# appropriate one.  E.g, if X11R5 or later is found, lucid will be used.
# Possible: yes, no, not defined, athena, lucid, motif
# Default: not defined

#IRRD_USE_PGP=
# Used by irrd package to specify the version of PGP to use, if any.
# Possible: 5, 2, not defined
# Default: not defined
# [XXX: configure will locate pgpv or pgp]

#ISPELL_EXTRA_DICT=
# Used by ispell package to specify an extra national dictionary.
# Possible: [agc - unknown]
# Default: not defined

#INN_DATA_DIR=
# Used by inn to specify the data directory.
# Possible: any path you like
# Default: /var/news

#ISPELL_FR=
# Used by ispell to specify a French/English
# dictionary.
# Possible: defined, not defined
# Default: not defined

#ISPELL_LANG=
# Used by ispell to specify national dictionary
# Possible: not defined, british
# Default: not defined

#JB_PACKAGE= test
# Used by jitterbug to determine the type of package to be installed.
# Possible: test, production
# Default: test

#JB_USER=jitter
# Used by jitterbug package for username
# Possible: any valid username
# Default: jitter

#JB_USERID=509
# Used by jitterbug package for uid of JB_USER.
# Possible: any valid uid
# Default: 509

#JB_GROUP=jitter
# Used by jitterbug package for groupname
# Possible: any valid groupname
# Default: jitter

#JB_GROUPID=509
# Used by jitterbug package for gid of JB_USER.
# Possible: any valid gid
# Default: 509

#JB_FQHOSTNAME=
# Used by jitterbug package to include the fully-qualified domain name
# of the host.
# Possible: defined, not defined
# default: not defined

#JB_LOCALMAIL=
# Used by jitterbug package as the mail alias to receive mail from
# jitterbug
# Possible: any valid mail alias
# Default: none

#JAKARTA_HOME=
# Used by the www/jakarta-tomcat package to choose an install location
# Possible: any directory
# Default: ${JAVA_HOME}/jakarta

#JAVA_HOME=
# Location for packages which install java code
# Possible: any directory
# Default: home of JVM chosen by ${PACKAGE_JVM}

#JDK_HOME=
# Used by the lang/JDK package to choose an install location
# Possible: any directory, e.g. /usr/jdk
# Default: ${LOCALBASE}/java

#JSDK_HOME=
# Location for Java Servlet Development Kit installed by www/jsdk20
# Possible: any directory
# Default: ${JAVA_HOME}/jsdk


#KERBEROS=
# Used in many packages to specify use of a Kerberos (or compatible)
# subsystem.  Requires Kerberos libraries in /usr/lib.
# Possible: 4, 5, not defined
# Default: not defined

KERMIT_SUID_UUCP=YES
# If set to YES or yes, install kermit binary set-uid uucp. Permits an
# unprivileged user to access the serial ports, with default permissions
# on the /dev/tty0* special files.
# Possible: YES, yes, not defined
# Default: not defined

#KNEWS_DOMAIN_FILE=
# Used in the knews package to set the domain name from the contents
# of this file.
# Possible: any valid path
# Default: none

#KNEWS_DOMAIN_NAME=
# Used in the knews package to set the domain name.
# Possible:  almost anything really, usually a FQDN.
# Default: none

#KTERM_USE_WALLPAPER=
# Used in kterm package to support wallpaper
# Possible: not defined, YES
# Default: not defined

#LIBWRAP_FWD=
# Used in ssh package to make libwrap also compare against forwarded
# connection attempts
# Possible: not defined, YES
# Default: not defined

#LPRNG_SUID=		YES
# Used by LPRng to enable setuid installation of LPRng binaries.
# Possible: YES, or NO.
# Default: YES

#LPRNG_PRIV_PORTS=	NO
# Used by LPRng to require connections to be from privileged ports.
# Possible: YES, or NO.
# Default: NO

#M68060=
# Used mostly by packages (e.g.:  pgp2, ssh) with have fast
# 68020/030/040 assembler routines for multiprecision arithmetic,
# which use the 32/64bit mul/div instruction.  These instructions are
# software emulated on the 68060, thus very slow.  Set to YES when
# compiling for the 68060 cpu.
# Possible: not defined, YES.
# Default: not defined.

#MAJORDOMO_USER=
# Used by majordomo package as the userid majordomo runs at.
# Possible: any
# Default: majordom

#MAJORDOMO_GROUP=
# Used by the majordomo package as the groupid majordomo runs at.
# Possible: any
# Default: majordom

#MAJORDOMO_TMPDIR=
# Used by the majordomo package as the directory to store temp files.
# Possible: any directory.
# Default: /var/tmp

#MUTT_INTERNATIONAL=	YES
# Used to decide if international export restricted version of "mutt"
# is built.
# Possible: not defined, YES
# Default: not defined

#NMH_EDITOR=
# default editor for use in nmh.
# Possible: any editor.
# Default: vi

#NMH_MTA=	smtp
# default MTA for use in nmh.
# Possible: smtp or sendmail.
# Default: smtp

#NMH_PAGER=
# default pager for use in nmh.
# Possible: any editor.
# Default: more

NS_ENCRYPTION=	us
# Used to decide if export or US version of Netscape should be
# installed.
# Possible: export, us
# Default: export

NS_USE_BSDI=	yes
# Used to decide if we should try to run the BSDi version of
# NS/Communicator.  It's much more stable than Linux.
# Possible: defined, not defined
# Default: obviously, not defined

PAPERSIZE=	A4
# Default paper size for packages.
# Possible: A4, Letter, Letterdj.
# Default: none

#PGGROUP=ingres
# Used in postgresql package as the groupname of the database
# administrator
# Possible: any group name
# Default: ingres

#PGUSER=pgsql
# Used in postgresql package as the username of the database admin
# Possible: any user name
# Default: pgsql

#PKG_JVM=
# Used to choose a java virtual machine for packages which use Java.
# Possible: jdk, kaffe (kaffe currently has some problems)
# Default: jdk on NetBSD/i386, kaffe elsewhere

#POPTOP_USE_MPPE=
# Used in poptop package to specify the use of the mppe-ppp package
# in preference to the standard ppp
# Possible: defined, not defined
# Default: not defined

#QPOPPER_SERVERMODE=
# Used in qpopper package to enable server mode.
# Possible: defined, not defined
# Default: not defined

#RASMOL_DEPTH=
# Used in rasmol package to choose display depth to compile the package
# for, since it only supports one at a time.
# Possible: 8, 16, 32
# Default: 8

#RCS_LOCALID=
# Used in cvs-current package for an RCS Id which is expanded.
# Possible: anything (within reason)
# Default: none

#SQUID_CONFIGURE_ARGS=
# Used in squid package to set build configuration options.
# Possible: see "configure --help"
# Default: --enable-cachemgr-hostname=localhost
#          --enable-icmp
#          --enable-ipf-transparent
#          --enable-snmp

#SQUID_HTTP_PORT=
# Used in squid package to define the default port number for HTTP
# connections.
# Possible: 1-65535
# Default: 3128

#SQUID_ICTP_PORT=
# Used in squid package to define the default port number for ICP
# queries.
# Possible: 1-65535
# Default: 3130

#SSH_CONF_DIR=
# Used in ssh and openssh to set the configuration directory.
# Possible: any valid directory
# Default: /etc

#SSH_RSHPATH=
# Used in ssh to specify standard rsh path
# Possible: path to rsh binary
# Default: /usr/bin/rsh

#SSH_SUID=
# Used in ssh to enable setuid installation of "ssh" binary.
# Possible: YES, or NO.
# Default: NO

#UPCLIENT_LOGIN=
#UPCLIENT_PASSWORD=
#UPCLIENT_HOSTID=
# Used in the net/upclient package to set the login, password and
# host-id of a host. See http://www.uptimes.net/ for more information!
# Default: If unset, the package will go interactive, and ask for the
# data, allowing the password to remain private.

#USE_DB2=
# Used in sendmail to build with database library 2.x from the db package.
# Possible: YES, or NO.
# Default: NO

#USE_CANNA=
# Used in kinput2 and nvi-m17n to enable Canna kana-kanji converter
# support.
# Possible: YES, or NO.
# Default: YES

#USE_CRYPTO=	YES
# Used in speakfreely to choose support for encrypted connections.
# Possible: YES, or NO.
# Default: YES

#USE_GIF=
# Enable GIF support in qt.  (disabled per default due to licensing
# problems; future revisions might have no support at all)
# Also used by tiff-library to enable LZW compression support.
# Possible: defined, not defined
# Default: not defined

USE_IDEA=	YES
# Used in speakfreely and ssh to choose whether to compile using
# the patented IDEA encryption algorithm.
# Possible: YES, or NO.
# Default: package-dependent

#USE_INET6=NO
# Enable IPv6 support on certain packages.  It is safer to leave it undefined
# in mk.conf and obey the default.  Reasons:
# - it is just fine to use IPv6-ready packages on top of non-IPv6 kernel
#   (assuming that you have IPv6-ready headers and libraries)
# - it may cause some trouble to use a package compiled with USE_INET6=NO,
#   on top of IPv6-ready kernel
# Possible: not defined, NO, YES
# Default: YES on IPv6-ready userland, not defined otherwise

#USE_INN=
# Used in nn and trn to specify use of "inn" instead of "nntpclnt"
# package to provide "inews" binary.
# Possible: not defined, YES
# Default: not defined

#USE_MESA=
# Used in battleball to build in support for OpenGL/Mesa. Will use
# Mesa-glx (rather than Mesa) if Mesa-glx is already installed.
# Possible: not defined, YES
# Default: not defined

USE_RSAREF2=	YES
# Use the RSA reference package
# Possible: YES (US domestic only), or NO.
# Default: not defined.

#USE_SJ3=
# Used in kinput2 to enable SJ3 kana-kanji converter support.
# Possible: YES, or NO.
# Default: YES

#USE_SOCKS=
# Used to specify SOCKS firewall support Set this to the version of
# socks necessary.
# Possible: 4, 5, not defined
# Default: not defined

#USE_WNN4=
# Used in kinput2 to enable FreeWnn (a.k.a.  Wnn4) kana-kanji
# converter support.
# Possible: YES, or NO.
# Default: YES

#USE_XFACE=
# Used in xemacs package to build in support for xface
# (pkgsrc/mail/face)
# Possible: not defined, YES
# Default: not defined

WINDOWMAKER_OPTIONS=gnome
# Options for building windowmaker package Used to add support for
# GNOME, KDE or OPEN LOOK(tm) and to avoid redundancies with KDE.
# Possible: gnome, kde, openlook, lite
# Default: gnome kde

#WINDOWMAKER_THEMES=	...
# Used in wm-themes package to specify the themes which will be
# installed.
# Possible: see http://wm.themes.org/
# Default: FreeBSD-theme

XAW_TYPE=3d
# Used in various packages to specify that libXaw is used.
# Possible: standard, 3d, xpm
# Default: standard

#ZIP_ENCRYPTION=
# Add encryption code to zip and zip1
# Possible: defined, not defined
# Default: not defined

#
#	Overrides for faster or cheaper sites.
#
#	Refer to http://www.netbsd.org/Sites/net.html or /usr/doc/MIRRORS
#	for information on determining the location of NetBSD mirror sites.
#

# Australia (AARNET).  Swap order of ftp.au.netbsd.org and
# ftp2.au.netbsd.org if your link to University of Queensland is
# cheaper/faster than your link to RMIT University (Melbourne).
#
#MASTER_SITE_XCONTRIB=	ftp://mirror.aarnet.edu.au/X11/contrib/
#MASTER_SITE_GNU=	ftp://mirror.aarnet.edu.au/gnu/
#MASTER_SITE_PERL_CPAN=	ftp://mirror.aarnet.edu.au/perl/CPAN/modules/by-module/
#MASTER_SITE_TEX_CTAN=	ftp://mirror.aarnet.edu.au/tex-archive/
#MASTER_SITE_SUNSITE=	ftp://mirror.aarnet.edu.au/sunsite.unc.edu/
#MASTER_SITE_BACKUP=	\
#	ftp://ftp.au.netbsd.org/pub/NetBSD/packages/distfiles/ \
#	ftp://ftp2.au.netbsd.org/pub/NetBSD/packages/distfiles/

# Austria
#
#MASTER_SITE_XCONTRIB=	ftp://ftp.at.netbsd.org/hci/X11/contrib/
#MASTER_SITE_GNU=	ftp://ftp.at.netbsd.org/gnu/gnusrc/
#MASTER_SITE_PERL_CPAN=	ftp://ftp.at.netbsd.org/languages/perl/CPAN/modules/by-module/
#MASTER_SITE_TEX_CTAN=	ftp://ftp.at.netbsd.org/publishing/tex/CTAN/
#MASTER_SITE_SUNSITE=	ftp://ftp.univie.ac.at/systems/linux/sunsite/
#MASTER_SITE_BACKUP=	ftp://ftp.at.netbsd.org/opsys/NetBSD/packages/distfiles/

# Denmark
#
#MASTER_SITE_XCONTRIB=	ftp://ftp.sunsite.auc.dk/mirrors/ftp.x.org/contrib/
#MASTER_SITE_GNU=	ftp://ftp.sunsite.auc.dk/pub/gnu/
#MASTER_SITE_PERL_CPAN=	ftp://ftp.sunsite.auc.dk/pub/languages/perl/CPAN/modules/by-module/
#MASTER_SITE_TEX_CTAN=	ftp://ftp.sunsite.auc.dk/pub/tex/ctan/
#MASTER_SITE_SUNSITE=	ftp://ftp.sunsite.auc.dk/mirrors/sunsite.unc.edu/pub/Linux/
#MASTER_SITE_BACKUP=	ftp://ftp.dk.netbsd.org/pub/NetBSD/packages/distfiles/

# Finland
#
#MASTER_SITE_XCONTRIB=	ftp://ftp.funet.fi/pub/X11/contrib/
#MASTER_SITE_GNU= 	ftp://ftp.funet.fi/pub/gnu/gnu/
#MASTER_SITE_PERL_CPAN=	\
#	ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/
#MASTER_SITE_TEX_CTAN=	ftp://ftp.funet.fi/pub/TeX/CTAN/
#MASTER_SITE_SUNSITE=	\
#	ftp://ftp.funet.fi/pub/mirrors/sunsite.unc.edu/pub/Linux/
#MASTER_SITE_BACKUP=	\
#	ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/distfiles/

# Japan
#
#MASTER_SITE_XCONTRIB=	ftp://ftp.ring.gr.jp/pub/X/opengroup/contrib/
#MASTER_SITE_GNU=	ftp://ftp.ring.gr.jp/pub/GNU/
#MASTER_SITE_PERL_CPAN=	ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/modules/by-module/
#MASTER_SITE_TEX_CTAN=	ftp://ftp.ring.gr.jp/pub/text/CTAN/
#MASTER_SITE_SUNSITE=	ftp://sunsite.sut.ac.jp/pub/archives/linux/sunsite-unc/
#MASTER_SITE_BACKUP=	\
#	ftp://ftp.ring.gr.jp/pub/NetBSD/packages/distfiles/ \
#	ftp://ftp.jp.netbsd.org/pub/NetBSD/packages/distfiles/

# United Kingdom
#
#MASTER_SITE_XCONTRIB=	ftp://sunsite.org.uk/pub/Mirrors/ftp.x.org/contrib/
#MASTER_SITE_GNU=	ftp://sunsite.org.uk/pub/packages/gnu/
#MASTER_SITE_PERL_CPAN=	ftp://sunsite.org.uk/pub/packages/perl/CPAN/modules/by-module/
#MASTER_SITE_TEX_CTAN=	ftp://sunsite.org.uk/pub/packages/tex/uk-tex/
#MASTER_SITE_SUNSITE=	ftp://sunsite.org.uk/pub/Mirrors/sunsite.unc.edu/pub/Linux/
#MASTER_SITE_BACKUP=	ftp://sunsite.org.uk/pub/packages/NetBSD/packages/distfiles/

.endif # BSD_PKG_MK
#---
				--*greywolf;
--
NetBSD: We're so committed to it being free, we won't sell it to you
          even if you ask!