diff options
author | rillig <rillig@pkgsrc.org> | 2005-07-22 18:59:55 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-07-22 18:59:55 +0000 |
commit | d3773172f545cbb758d7e5d7778cd4f3f37dc0d8 (patch) | |
tree | 6961e1a211b299d40c737ae6666bd9372e59554f | |
parent | 2a65309ab5bc781066640b60b4f4e366154c6165 (diff) | |
download | pkgsrc-d3773172f545cbb758d7e5d7778cd4f3f37dc0d8.tar.gz |
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.
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index db95d3c6e79..f5361497a6f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ pre-install-depends: 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/:.*$//}"; \ |