diff options
author | tv <tv@pkgsrc.org> | 1999-05-24 18:42:00 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-05-24 18:42:00 +0000 |
commit | 4a0b32f36fa797f7ea239b3e39dcd99624c38ea6 (patch) | |
tree | 913084cf3b59fc67a34d5bc6a6ccf8937d061baa /comms | |
parent | 5aa8dfc4e1860f9b5ba89280e5eedd7cea7d4706 (diff) | |
download | pkgsrc-4a0b32f36fa797f7ea239b3e39dcd99624c38ea6.tar.gz |
Implement some parts of proposals posted to tech-pkg:
- 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.
Diffstat (limited to 'comms')
0 files changed, 0 insertions, 0 deletions