From dae19d20eddd4232066ab8a1127e8e7fe21dc29f Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 5 Mar 2002 14:16:11 +0000 Subject: [PATCH] Output @blddep directives before @pkgdep directives. --- usr.sbin/pkg_install/create/perform.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index 95c09c7034cf..676bf2fff9ba 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -1,11 +1,11 @@ -/* $NetBSD: perform.c,v 1.29 2002/03/05 13:01:21 agc Exp $ */ +/* $NetBSD: perform.c,v 1.30 2002/03/05 14:16:11 agc Exp $ */ #include #ifndef lint #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.29 2002/03/05 13:01:21 agc Exp $"); +__RCSID("$NetBSD: perform.c,v 1.30 2002/03/05 14:16:11 agc Exp $"); #endif #endif @@ -263,12 +263,12 @@ pkg_perform(lpkg_head_t *pkgs) while (Pkgdeps) { cp = strsep(&Pkgdeps, " \t\n"); if (*cp) { - add_plist(&plist, PLIST_PKGDEP, cp); - if (Verbose && !PlistOnly) - printf(" %s", cp); if (findmatchingname(_pkgdb_getPKGDB_DIR(), cp, note_whats_installed, installed) > 0) { add_plist(&plist, PLIST_BLDDEP, installed); } + add_plist(&plist, PLIST_PKGDEP, cp); + if (Verbose && !PlistOnly) + printf(" %s", cp); } } if (Verbose && !PlistOnly)