Only do the dirs.mk dance when PKG_INSTALLATION_TYPE is overwrite.

The -dirs packages are simply useless in a pkgviews world.
This commit is contained in:
jmmv 2004-04-14 20:15:59 +00:00
parent c8cb1c5b0d
commit 405467ddb9

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1441 2004/04/14 15:26:41 jmmv Exp $
# $NetBSD: bsd.pkg.mk,v 1.1442 2004/04/14 20:15:59 jmmv Exp $
#
# This file is in the public domain.
#
@ -1385,7 +1385,8 @@ NO_BUILDLINK= # defined
.include "../../mk/tools.mk"
.if defined(USE_DIRS) && !empty(USE_DIRS)
.if defined(USE_DIRS) && !empty(USE_DIRS) && \
${PKG_INSTALLATION_TYPE} == "overwrite"
. include "../../mk/dirs.mk"
.endif