head 1.8; access; symbols pkgsrc-2023Q4:1.8.0.62 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.60 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.58 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.56 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.54 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.52 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.50 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.48 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.46 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.44 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.42 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.40 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.38 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.36 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.32 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.12 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.34 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.30 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.28 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.26 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.24 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.22 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.20 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.18 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.16 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.14 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.10 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.8 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.6 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.4 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.2 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.6.0.30 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.28 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.26 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.24 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.22 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.20 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.18 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.16 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.14 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.12 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.10 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.6 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.4 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.2 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.5.0.20 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.18 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.16 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.14 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.12 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.10 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.8 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.6 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.4 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.2 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.4.0.6 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.4 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.2 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.3.0.8 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.6 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.4 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.2 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.2.0.4 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.2 pkgsrc-2008Q1:1.1.0.2 pkgsrc-2008Q1-base:1.1; locks; strict; comment @# @; 1.8 date 2016.04.10.15.15.45; author joerg; state Exp; branches; next 1.7; commitid Fn4wsPSFBCu3O52z; 1.7 date 2016.04.10.15.09.26; author joerg; state Exp; branches; next 1.6; commitid x45vjBTRkefXL52z; 1.6 date 2012.08.14.15.27.07; author asau; state Exp; branches; next 1.5; 1.5 date 2010.02.24.22.53.34; author joerg; state Exp; branches; next 1.4; 1.4 date 2009.05.09.14.59.08; author joerg; state Exp; branches; next 1.3; 1.3 date 2008.08.10.17.39.15; author joerg; state Exp; branches; next 1.2; 1.2 date 2008.06.16.15.10.48; author joerg; state Exp; branches; next 1.1; 1.1 date 2008.01.19.22.41.47; author rillig; state Exp; branches; next ; desc @@ 1.8 log @Rewrite somewhat in light of the non-DESTDIR removal. @ text @# $NetBSD: destdir.help,v 1.7 2016/04/10 15:09:26 joerg Exp $ # # === # Warning: This file is still under construction. Don't rely on it. # === # # This file documents the variables around the DESTDIR support. # 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 === # # PKG_DESTDIR_SUPPORT # * "user-destdir" means that all files of the packages should be # installed with default ownership and permissions. # # * "destdir" means that some of the installed files need special # ownership or permissions. The installation is done by the # privileged user. # # This variable must be set before including bsd.prefs.mk directly or # indirectly. # # === Implementation notes === # # In the "stage-install" phase, the variable DESTDIR is set in the make(1) # environment of the default "do-install" target. Additionally, the # variable is passed in the INSTALL_MAKE_FLAGS to override potential # "DESTDIR=" entries in the Makefiles. # # Keywords: destdir @ 1.7 log @PKG_DESTDIR_SUPPORT=none is gone. @ text @d1 1 a1 1 # $NetBSD: destdir.help,v 1.6 2012/08/14 15:27:07 asau Exp $ d8 4 a11 19 # # 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. @ 1.6 log @Introduce explicit name for no staged installation support: "none". Keep "none" a default value for PKG_DESTDIR_SUPPORT for now. @ text @d1 1 a1 1 # $NetBSD: destdir.help,v 1.5 2010/02/24 22:53:34 joerg Exp $ a37 3 # * "none" means that all files of the packages will be installed # by the privileged user. # @ 1.5 log @Rename the install phase to stage-install. Introduce a new install target that defaults to either stage-install or package-install, depending on whether DESTDIR support is active and supported by the package or not. @ text @d1 1 a1 1 # $NetBSD: destdir.help,v 1.4 2009/05/09 14:59:08 joerg Exp $ d38 3 @ 1.4 log @Make USE_DESTDIR=full the default value and retire the option. @ text @d1 1 a1 1 # $NetBSD: destdir.help,v 1.3 2008/08/10 17:39:15 joerg Exp $ d43 1 a43 1 # In the "install" phase, the variable DESTDIR is set in the make(1) @ 1.3 log @Remove long outdated comment about full destdir not working completely. @ text @d1 1 a1 1 # $NetBSD: destdir.help,v 1.2 2008/06/16 15:10:48 joerg Exp $ d23 4 a26 4 # explicitly support it. # # * "full": This makes the build completely unprivileged and in # turn detects any attempt to write e.g. to ${LOCALBASE}. @ 1.2 log @Make it more explicit that PKG_DESTDIR_SUPPORT and as side effect META_PACKAGE must be set before including bsd.prefs.mk. @ text @d1 1 a1 1 # $NetBSD: destdir.help,v 1.1 2008/01/19 22:41:47 rillig Exp $ a26 2 # This is not supported for actual installation yet, due to # short comings of pkg_create. [FIXME] @ 1.1 log @Renamed some *.mk files to *.help, since they only contain comments. @ text @d1 1 a1 1 # $NetBSD: destdir.mk,v 1.2 2007/02/06 19:47:13 rillig Exp $ d40 3 @