Age | Commit message (Collapse) | Author | Files | Lines |
|
and override the `on-the-fly dependency target' option.
|
|
|
|
|
|
the .if !target(all) below), so this is unnecessary.
|
|
make check-depends also dependent on the (non)existence of EXTRACT_COOKIE.
|
|
|
|
"mirror-distfiles".
|
|
use = to set them, not ?=.
- _DEPENDS_USE doesn't actually do any macro expansion, so save some
processing time by executing it exactly once (remove the .USE operator).
- Merge the IGNORE targets. Add an IGNORE target for depends and
check-depends (see bottom).
- Don't check for installation of a package in ${DEPENDS} when doing
a "make depends". Instead, let the return code of make fall through
(using && instead of ; in the last clause of each depend recursion block).
- Provide a variable IGNORE_FAIL: when set, causes the ignore message
to be printed (regardless of IGNORE_SILENT or ECHO_MSG setting) and the
build to fail with ${FALSE}. Used with the next addition:
- Add a new target, "check-depends", which is called as part of "real-fetch".
This validates whether the dependencies of a pkg to be built are installed,
and if not, whether those dependencies will prospectively build (will
not set IGNORE directly or indirectly through the various disable options).
Recurses to "depends" with a DEPENDS_TARGET of "check-depends".
...And now, it is no longer necessary to mark dependent pkgs as unusable
when their dependencies are unusable thanks to an incorrect LICENSE,
_FOR_PLATFORM setting, and so forth. The check-depends step will validate
everything before fetching a single file.
|
|
|
|
pattern match format. Minor pkglint along the way.
|
|
- 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.
|
|
- remove the ${MACHINE_ARCH} and ${OPSYS} specializations for Makefile,
files, pkg, scripts, patches
- remove the functionality of ${MASTER_SITE_FREEBSD} (if someone *really*
wants this type of function, which should be discouraged, s/he may use:
MASTER_SITE_OVERRIDE=${MASTER_SITE_BACKUP})
|
|
make it cleaner) by replacing the shell expansion with a bmake .for loop.
|
|
|
|
|
|
(at least) a recursive "make clean".
|
|
in PR pkg/7545.
|
|
whatever his name is).
|
|
PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} _without_
having to ensure each ${OS_VERSION}/${MACHINE_ARCH} is manually created
beforehand.
|
|
|
|
directory doesn't fit into hier(7). We will handle the double usage in
the packages for now.
|
|
|
|
|
|
automatical registration of info files.
|
|
use of krb4 _or_ a compatible subsystem. (MAKE_ was only used by this
option; USE_ is used by many.)
Also set RESTRICTED= in all relevant pkgs when USE_KERBEROS4 is enabled.
|
|
shared objects in /usr/lib (they affect installation of the _pic.a files,
not the .so files).
|
|
definitions for the architectures available in those releases, set with ?=.
|
|
|
|
|
|
|
|
|
|
we have it for sure).
|
|
|
|
- Remove support for package tools without database support.
|
|
${MAKE}.
|
|
|
|
variable substituition of "MASTER_SITES" and "PATCH_SITES".
|
|
if no shared objects are found on a.out systems.
|
|
build a binary package with this definition would fail as the PLIST is
not correct.
If a package's documentation is overwhelming, it should arguably be handled
in a separate pre-requisite documentation package.
|
|
|
|
do this dynamically. This means that we no longer have to have a
separate pkgsrc copy of bsd.own.mk, which was a maintenance nightmare,
and usually out of date, and quite costly too (with a calculation of
whether NetBSD-current was being run every time the file was read).
Also, on a.out, add ldconfig lines to the generated PLIST only if they're
not already there, rather than if they were previously there, and ignore
the return value from ldconfig, which cannot be trusted. The ldconfig
calls have largely been made obsolete by the use of -rpath, but keep it
for just now for backwards compatibility.
|
|
XXX This file shile should be removed soon.
|
|
on platforms that are prohibited by ONLY_FOR_ARCH/OPSYS etc. so we
can provide distfile-backups even for them.
|
|
|
|
some GNU packages.
|
|
/usr/pkgsrc (through make(1) macig).
|
|
Minor formatting changes around the pkg-su-install target.
Pass on any PKG_DEBUG_LEVEL as well as FORCE_PKG_REGISTER definitions.
|
|
installation is taking place. Also echo the command which will be
invoked in ${SU_CMD}, so that the Principle of Least Surprise applies.
|