diff options
author | joerg <joerg> | 2006-10-09 12:25:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-10-09 12:25:44 +0000 |
commit | 70ea314088a4fe4c4bbcc3ccab10c4a1e47a18a5 (patch) | |
tree | 9814d8b785561d4625d3535aa344ea9c5b84ef85 /x11/xephem | |
parent | 425c7ce9c7743b6870d601017456d062add968cb (diff) | |
download | pkgsrc-70ea314088a4fe4c4bbcc3ccab10c4a1e47a18a5.tar.gz |
Main infrastructure for DESTDIR support.
Packages may set PKG_DESTDIR_SUPPORT to either "destdir" or
"user-destdir" to flag support for this, following the same
rules as PKG_INSTALLATION_TYPES (e.g. define before first include
of bsd.prefs.mk).
The user activates it via USE_DESTDIR. When set to "yes",
packages with "user-destdir" are handled as "destdir".
The installation of the package will not go to ${LOCALBASE},
but a subdirectory of ${WRKDIR} instead. pre/post install scripts are
not run and the package is not registered either. A binary package
can be created instead to be installed normally with pkg_add.
For "user-destdir" packages, everything is run as normal user and
ownership is supposed to be correctled by pkg_create later. Since
the current pkg_install code uses pax and it doesn't allow overwriting
owners, this does not work yet.
For "destdir" packages, installation, packaging and cleaning is run as
root.
This commit does not change the handling of DEPENDS_TARGET or
bin-install to allow recursive usage.
Diffstat (limited to 'x11/xephem')
0 files changed, 0 insertions, 0 deletions