pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Sort the dependencies list alphabetically when chec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b2a94c827fb5
branches: trunk
changeset: 497222:b2a94c827fb5
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Jul 22 18:59:55 2005 +0000
description:
Sort the dependencies list alphabetically when checking if they are
installed. That makes it easier to check if a specific package is listed
or not.
diffstat:
mk/bsd.pkg.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r abb4f99d7912 -r b2a94c827fb5 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Fri Jul 22 18:20:11 2005 +0000
+++ b/mk/bsd.pkg.mk Fri Jul 22 18:59:55 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1709 2005/07/17 04:17:09 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1710 2005/07/22 18:59:55 rillig Exp $
#
# This file is in the public domain.
#
@@ -3603,12 +3603,13 @@
FATAL_OBJECT_FMT_SKEW?= yes
WARN_NO_OBJECT_FMT?= yes
+_DEPENDS_AND_BUILD_DEPENDS= ${DEPENDS} ${BUILD_DEPENDS}
install-depends: pre-install-depends
. if !empty(DEPENDS) || !empty(BUILD_DEPENDS)
. if defined(NO_DEPENDS)
@${DO_NADA}
. else # !DEPENDS
-. for dep in ${DEPENDS} ${BUILD_DEPENDS}
+. for dep in ${_DEPENDS_AND_BUILD_DEPENDS:O}
${_PKG_SILENT}${_PKG_DEBUG} \
pkg="${dep:C/:.*//}"; \
dir="${dep:C/[^:]*://:C/:.*$//}"; \
Home |
Main Index |
Thread Index |
Old Index