Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Let's take timidity, which needs ncurses and tk. By setting
NEED_NCURSES=1 and adding it to MAKEFLAGS, all other required pkgs
automagically depend on ncurses - tk, tcl (which is slurped in by
tk), ...
|
|
Do executable bit testing in bsd.pkg.mk, REPLACE_NCURSES, slightly
different.
|
|
handles a builtin XFree86-4.x Mesa.
|
|
|
|
process doesn't slow us down more than necessary.
|
|
|
|
userland (checked by existence of /sbin/ping6).
with the change, the default value for USE_INET6 will be like this:
- non-NetBSD: undefined
- NetBSD releases prior and including 1.4.x: undefined
- NetBSD-current (pre-1.5) prior to IPv6 integration: undefined
- NetBSD-current after IPv6 integration: USE_INET6=YES
It is advised to obey the default.
|
|
|
|
|
|
LOWER_OPSYS for Solaris is solaris.
Remove the ugly hacks which had been introduced to workaround previous
misunderstanding.
|
|
but calculated every time bsd.prefs.mk is read. Correct the
situation, and only calculate these when they are needed.
Also save a few more cycles by hardcoding the LOWER_OPSYS values for
known operating systems, rather than using expensive shell echo and tr
commands every time bsd.prefs.mk is read.
|
|
|
|
|
|
- Define OS_VERSION in bsd.prefs.mk (...if not already defined). Previously
was only set in a conditional block in bsd.pkg.mk.
- Define new values, MACHINE_PLATFORM and MACHINE_GNU_PLATFORM, which
default to ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH} and
${LOWER_OPSYS}-${LOWER_VENDOR}-${LOWER_ARCH} respectively.
(Probably should nuke LOWER_ARCH and rename LOWER_VENDOR to something
like MACHINE_GNU_VENDOR.)
- Use ${MACHINE_GNU_PLATFORM} as the argument to `--host' in GNU_CONFIGURE
packages.
- Allow for ONLY_FOR_PLATFORM and NOT_FOR_PLATFORM, lists of patterns
in csh(1) glob style which are matched against MACHINE_PLATFORM above
and take the place of {ONLY,NOT}_FOR_{ARCHS,OPSYS}. (For now, until
all pkgs are converted, provide backwards compatibility.) *Both* may
be defined, in which case NOT_FOR_PLATFORM takes precedence.
- Also do some significant aesthetic cleanup, based on the idea
`define platform-specific overrides first, then define a generic case
with the ?= operator'. Lots more of this to do yet.
|
|
flags (e.g. CFLAGS=-O/-O2) are defined as necessary before a pkg modifies
them with "+=".
|
|
protect bsd.prefs.mk. Now there's no multiple inclusion of mk.conf,
clobbering variables modified between bsd.prefs.mk and bsd.pkg.mk, when
set with VARNAME=value.
- Let bsd.own.mk include mk.conf/MAKECONF; we don't need to do that
manually.
- Don't define BSD_PKG_MK or OPSYS in bsd.pkg.mk, as bsd.prefs.mk does
precisely that just a couple lines below.
|
|
pointed out by Alistair Crooks and Johnny Lam.
|
|
recursive makes.
|
|
the "cross" subdirectory. Defaults to ${LOCALBASE}/cross.
- PREFIX is not user settable. Do not conditionally set it such that
environment variables and mk.conf can override it. Issue an error if
PREFIX is attempted to be set from mk.conf, environment, or command line.
|
|
into one file, located in the pkgsrc tree. Thus one file simply needs
to be included before any .if* statements in the package Makefile,
rather than a large number of ad-hoc methods of doing this.
|