diff options
author | joerg <joerg> | 2007-04-19 16:52:03 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-04-19 16:52:03 +0000 |
commit | 82b3fd4717417c5fc92609df34cc279f2a5320aa (patch) | |
tree | 522a1399477a7fbf0f417902a2910554a34c5a67 /mk/install/bsd.install-vars.mk | |
parent | 467dbdd292b2b86c30bbf1e347a71a95c9c57355 (diff) | |
download | pkgsrc-82b3fd4717417c5fc92609df34cc279f2a5320aa.tar.gz |
Drop NO_MTREE by making it the default. Introduce USE_MTREE to get the
old behaviour back. Discussed on tech-pkg@.
Diffstat (limited to 'mk/install/bsd.install-vars.mk')
-rw-r--r-- | mk/install/bsd.install-vars.mk | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/mk/install/bsd.install-vars.mk b/mk/install/bsd.install-vars.mk index 332933ece6a..aee1c14c130 100644 --- a/mk/install/bsd.install-vars.mk +++ b/mk/install/bsd.install-vars.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.install-vars.mk,v 1.5 2006/12/15 20:54:47 joerg Exp $ +# $NetBSD: bsd.install-vars.mk,v 1.6 2007/04/19 16:52:03 joerg Exp $ # # This Makefile fragment is included separately by bsd.pkg.mk and # defines some variables which must be defined earlier than where @@ -12,36 +12,10 @@ # the "real" installation should start. # -# If a package sets PKG_DESTDIR_SUPPORT to a non-empty value, -# it is supposed to deal with missing directories already. -# -.if !empty(PKG_DESTDIR_SUPPORT) -NO_MTREE= yes -.endif - -# If a package sets INSTALLATION_DIRS, then it's known to pre-create -# all of the directories that it needs at install-time, so we don't need -# mtree to do it for us. -# -.if defined(INSTALLATION_DIRS) && !empty(INSTALLATION_DIRS) -NO_MTREE= yes -.endif - -INSTALLATION_DIRS_FROM_PLIST?= no -.if !empty(INSTALLATION_DIRS_FROM_PLIST:M[Yy][Ee][Ss]) -NO_MTREE= yes +.if defined(USE_MTREE) +USE_TOOLS+= mtree:bootstrap .endif -# -# Certain classes of packages never need to run mtree during installation -# because they manage the creation of their own directories. -# -.if (${PKG_INSTALLATION_TYPE} == "pkgviews") && defined(CROSSBASE) -NO_MTREE= yes -.endif - -USE_TOOLS+= ${NO_MTREE:D:Umtree\:bootstrap} - # If MANZ is defined, then we want the final man pages to be compressed. # If MANZ is not defined, then we want the final man pages to be # uncompressed. |