summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-04-10 15:15:45 +0000
committerjoerg <joerg@pkgsrc.org>2016-04-10 15:15:45 +0000
commit305a30c911ee1669a011226285b401e94d1d6be2 (patch)
tree01a71449fce7b77f45b63b0eba29b540859b851b /mk
parentaffbd6f16d2b7ce271f35f8577bdf06563c7e3de (diff)
downloadpkgsrc-305a30c911ee1669a011226285b401e94d1d6be2.tar.gz
Rewrite somewhat in light of the non-DESTDIR removal.
Diffstat (limited to 'mk')
-rw-r--r--mk/help/destdir.help25
1 files changed, 5 insertions, 20 deletions
diff --git a/mk/help/destdir.help b/mk/help/destdir.help
index 34b2a106367..e918bc6e2dc 100644
--- a/mk/help/destdir.help
+++ b/mk/help/destdir.help
@@ -1,29 +1,14 @@
-# $NetBSD: destdir.help,v 1.7 2016/04/10 15:09:26 joerg Exp $
+# $NetBSD: destdir.help,v 1.8 2016/04/10 15:15:45 joerg Exp $
#
# ===
# Warning: This file is still under construction. Don't rely on it.
# ===
#
# This file documents the variables around the DESTDIR support.
-#
-# Normally, packages are installed directly into LOCALBASE and may
-# overwrite files of other packages there. It also makes it easy to
-# create packages which behave differently depending on whether they
-# are installed from source or from a binary package. This is not good.
-#
-# The DESTDIR support tries to prevent some of these problems. When it
-# is enabled, packages are not installed directly into LOCALBASE.
-# Instead, they are installed in a temporary directory, and a binary
-# package is created from the files that have been installed there.
-#
-# === User-settable variables ===
-#
-# USE_DESTDIR
-# * "yes" to enable DESTDIR support for those packages that
-# explicitly support it. If the package supports it,
-# the build will run completely under the privileges of the
-# calling users, only package installation via pkg_add is done
-# as root.
+# During the build, package files are not installed directly into
+# LOCALBASE, but a temporary directory under WRKDIR. Any direct change
+# of LOCALBASE is a bug. A binary package is created from the content
+# of that temporary directory and then installed normally with pkg_add.
#
# === Package-settable variables ===
#