Commit Graph

41 Commits

Author SHA1 Message Date
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
dyoung 4d23e6d82c For System Packages, two new utilities, a subroutine library, and
a new list:

sets.subr -- The set-listing code that is common to makeplist,
	     makeflist, and regpkg has moved here.

syspkgdeps -- Compute naive dependencies for system packages based
	      on directory containment. I.e., if package A contains
	      path /p/q, and package B contains path /p, then B is
	      considered a dependency of A. As Jim Wise remarks,
	      this is not quite right: system-package dependencies
	      should indicate a functional dependency. Nevertheless,
	      these naive dependencies protect us from orphaning
	      files when pkg_delete'ing system packages.

culldeps -- Helper for syspkgdeps. Removes redundant dependencies
	    from a dependencies table.  Essentially does the opposite
	    of a transitive closure on a dependencies table: if
	    the table contains A depends-on B, B depends-on C, and
	    A depends-on C, then A depends-on C is removed because
	    it can be derived from the prior two dependencies.

deps -- Dependencies computed by syspkgdeps.
2003-06-23 09:02:31 +00:00