summaryrefslogtreecommitdiff
path: root/x11/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-09 12:25:44 +0000
committerjoerg <joerg>2006-10-09 12:25:44 +0000
commit70ea314088a4fe4c4bbcc3ccab10c4a1e47a18a5 (patch)
tree9814d8b785561d4625d3535aa344ea9c5b84ef85 /x11/Makefile
parent425c7ce9c7743b6870d601017456d062add968cb (diff)
downloadpkgsrc-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/Makefile')
0 files changed, 0 insertions, 0 deletions