Commit Graph

51 Commits

Author SHA1 Message Date
mrg
e8ffedc44b add support for MKISCSI=no. 2006-06-24 05:11:40 +00:00
dogcow
82f4871f70 As pointed out by Izumi and Tsutsui and Valeriy Ushakov, these should
properly be .ad. files, not .md. files.
2006-06-09 03:14:54 +00:00
dogcow
b943d36d28 Use the gcc4 md list. 2006-05-19 01:49:05 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
christos
85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
apb
6942b0e739 Use TARGET_ENDIANNESS (from bsd.endian.mk) to decide whether
to add "-E B" or "-E L" options to ${db_opts}.

Approved by christos.
2006-01-08 10:25:33 +00:00
apb
6d714d9691 Add cheap implementations of basename and dirname,
using builtin printf, or using echo if printf is not a
shell builtin.

Reviewed by agc
2006-01-04 14:35:03 +00:00
apb
4d96f88bcb Add shell variables for several additional host tools,
required by the new versions of regpkgset and regpkg.
2006-01-04 14:23:22 +00:00
apb
3a0b541193 Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*.  This is intended to be useful when cross
building.  Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
2006-01-03 16:40:16 +00:00
apb
26d8593b50 Move default values for several shell variables into sets.subr.
Reviewed by agc
2006-01-03 15:42:42 +00:00
lukem
22b0f5dfc0 Add support for following keywords in sets lists, based on mk.conf(5) vars:
use_inet6		${USE_INET6} != no
	use_kerberos		${USE_KERBEROS} != no
	use_yp			${USE_YP} != no
2005-05-01 07:06:09 +00:00
tron
a9f1e3563a Add "MKX11" flag. We need it for the X11 obsolete lists in the "base" set. 2005-03-22 09:28:24 +00:00
peter
1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
lukem
3af1db4def Support ${MKINET6} == "no". 2005-01-10 03:13:04 +00:00
he
67d66c86bb Don't build libpam and associated bits if the target platform doesn't
support shared libraries (sun2 and evbsh5 at it would seem), or if the
user has specified MKPIC=no.  Also introduce a new tag to the set lists
("pam"), so that the non-shlib ports can once again complete a release
build.

Discussed with christos and lukem.
2005-01-10 00:20:21 +00:00
matt
f26774eaee Add MKGCCCMDS/gcccmds 2005-01-09 22:24:04 +00:00
tron
71d6312747 EOL of XFree86 3.3.6, approved by core@NetBSD.org 2005-01-07 18:56:40 +00:00
erh
10d0173282 Make all the sets scripts work even when not run from the directory that
they reside in.
Change any uses of dirname to use shell variable substitution instead.
2004-07-23 15:11:26 +00:00
jmc
944c6c8bad Add support for building/install just cat pages (via MANINSTALL=catpages) in
the sets. Originally from PR#24949. Tested w. all combinations of MANINSTALL
2004-06-13 22:35:02 +00:00
scw
c7f9b71508 Allow MKGDB=no to override inclusion of records with the 'gdb' keyword. 2004-03-17 20:32:02 +00:00
jmc
7c8480de0f Restructure MKPIC tests so that stlib always gets set first based on
OBJECT_FMT and then MKPIC/arch tests can set shlib=no if they need to.
2004-03-05 04:52:50 +00:00
matt
e8f9e7f005 Recognize when MKPIC=no and then set shlib=no 2004-02-28 01:02:05 +00:00
uwe
39b999ccdb sh3 ports have shlibs now in the gcc3 world. 2004-02-22 01:43:02 +00:00
lukem
b7b8fd2efe Implement `xetc' set to contain configuration that may be changed by
the end-user that we don't want to overwrite when extracting the
other X sets.
2004-01-23 14:38:09 +00:00
lukem
54aa6389e9 Merge xmisc into xbase; xmisc only contained "ssh-askpass", and the other
stuff from xsrc/local/programs was already in xbase.
2004-01-17 05:19:46 +00:00
lukem
3851e8f02f Merge "xcontrib" into "xbase".
It was already merged in the XFree86 4.x source anyway, and it doesn't
make senses to keep some programs in a separate set just because they
used to be built from a separate directory in XFree86 3.x.
2004-01-17 05:07:09 +00:00
lukem
a77e611113 Support MKUUCP=no.
Fix the syspkgs for cu (now in uucp) and tip (now in util)
2004-01-12 09:42:07 +00:00
lukem
6c4f688946 Support MKSHARE=no 2004-01-12 03:08:06 +00:00
lukem
15f7d00565 Support MKDOC=no MKINFO=no MKNLS=no 2004-01-11 23:42:27 +00:00
lukem
27f289e307 Add support for:
MKCATPAGES=no
	MKMAN=no
	MKMANZ=yes

Add ".man" (from "man") and ".cat" (from "catpages") to indicate files
that will automatically be treated as having a ".gz" extension if
MKMANZ != no.  (This simplifies the MKMANZ!=no support...)
2004-01-11 15:09:51 +00:00
lukem
7184a827aa support MKBFD=no 2004-01-11 08:55:55 +00:00
lukem
b309c0fe8a If MKX11 != no, set x11_version="" and ignore USE_XF86_4. 2004-01-08 01:39:26 +00:00
lukem
23bd6e4a23 support MKCVS=no 2004-01-04 13:20:49 +00:00
lukem
2becb6af9a Support MKCRYPTO=no 2004-01-04 00:54:18 +00:00
lukem
3e894ed427 Support MKPROFILE=no 2004-01-03 15:43:50 +00:00
lukem
26c228007f Support MKSKEY=no. 2004-01-03 15:21:30 +00:00
lukem
9bdabb5f9b support MKYP=no 2004-01-03 14:17:06 +00:00
lukem
df3e8e91a2 support MKHESIOD=no 2004-01-03 13:50:26 +00:00
lukem
0c6b3e795d Support MKCRYPTO_IDEA=yes, MKCRYPTO_MDC2=yes, MKCRYPTO_RC5=yes.
Resolves [install/18136].
2004-01-03 13:31:38 +00:00
lukem
9bd28e238c support postfix keyword (${MKPOSTFIX} != no).
tweak code to make it easier to add new keywords based on MKxxx vars.
2004-01-03 12:23:11 +00:00
lukem
6f9a1982b5 rename all the <bsd.own.mk> derived variables to uppercase, and export
them to the environment.
2004-01-03 02:38:58 +00:00
jmc
9c51e79187 Add support for rescue.ad.<cpu>.shl which appears to have been missed 2003-12-29 20:54:58 +00:00
lukem
b852db83fb Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of
  comma separated keywords that control if the line is printed.
  Currently supported keywords
	kerberos4	${MKKERBEROS4} != no
	kerberos	${MKKERBEROS} != no
	lint		${MKLINT} != no
	obsolete	${obsolete} != 0.
			In this case, non obsolete files are not printed.
  (This will allow future support for builds with variables such as
  MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
  various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
  Move replicated code for determining stuff such as shlibs type
  from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
  main lists with the relevant third field keyword(s).
2003-12-29 03:13:25 +00:00
lukem
1f6b42b329 minor sh KNF 2003-12-26 06:05:27 +00:00
dyoung
4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
tsutsui
fddb523c90 Use $have_gcc3 rather than $use_tools_toolchain,
which isn't set by sets.defaults.
2003-12-09 15:42:31 +00:00
dyoung
17b5668ccd Factor duplicated code for setting variables such as machine_cpu
and machine_arch to their defaults into sets.defaults, and source
it at the top of each script.

Also, to be consistent with variable naming, s/arch/machine_arch/.

sets.defaults introduces two new variables, krb and krb4, which
will affect whether Kerberos- or Kerberos IV-only files are put
into the set lists.
2003-11-25 07:19:46 +00:00
dyoung
0c6a0c0ee1 Alphabetize environment, again. 2003-10-29 23:05:55 +00:00
dyoung
bc624da622 Alphabetize environment docs. 2003-10-29 23:04:27 +00:00
mrg
9347d6de64 add initial support for gcc3 2003-08-04 05:53:20 +00:00