pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Only do the dirs.mk dance when PKG_INSTALLATION_TYP...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b226ea23578
branches:  trunk
changeset: 472961:9b226ea23578
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Apr 14 20:15:59 2004 +0000

description:
Only do the dirs.mk dance when PKG_INSTALLATION_TYPE is overwrite.
The -dirs packages are simply useless in a pkgviews world.

diffstat:

 mk/bsd.pkg.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 55f9e07d875e -r 9b226ea23578 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Apr 14 19:30:22 2004 +0000
+++ b/mk/bsd.pkg.mk     Wed Apr 14 20:15:59 2004 +0000
@@ -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 @@
 
 .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
 



Home | Main Index | Thread Index | Old Index