summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-03-08 12:07:46 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-03-08 12:07:46 +0000
commitecc61d6322a93065aa3f802872ad5143a2f76706 (patch)
treee96b165e59998aa17ad02876dcaa23f5d0628abc /usr.sbin/pkg_add/OpenBSD/Dependencies.pm
parentc3024e8f3379a5e1412f0f9158857dee595417a2 (diff)
rename forced to defines
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Dependencies.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Dependencies.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
index 806eff3606e..7d2d3d1980b 100644
--- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Dependencies.pm,v 1.59 2007/06/26 14:40:25 espie Exp $
+# $OpenBSD: Dependencies.pm,v 1.60 2008/03/08 12:07:45 espie Exp $
#
# Copyright (c) 2005-2007 Marc Espie <espie@openbsd.org>
#
@@ -239,7 +239,7 @@ sub find_dep_in_repositories
# XXX not really efficient, but hey
my %c = map {($_->{name}, $_)} @candidates;
my @pkgs = keys %c;
- if (!$state->{forced}->{allversions}) {
+ if (!$state->{defines}->{allversions}) {
@pkgs = OpenBSD::PackageName::keep_most_recent(@pkgs);
}
if (@pkgs == 1) {