diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-11-08 20:43:01 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-11-08 20:43:01 +0000 |
commit | 799b643503bb82cbcf463cd3dc3c5899223fefc8 (patch) | |
tree | 4effe60d3dd1c7485dd66b34ad0f64a13980d956 | |
parent | 1606b26e72a889daef6e21677b83ae73a64d440d (diff) |
swap arguments in libdepend, do it now before the bsd.port.mk parts are set
in stone...
-rw-r--r-- | usr.sbin/pkg/pkg.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg/pkg.pl b/usr.sbin/pkg/pkg.pl index 01484a98136..611b50fd58d 100644 --- a/usr.sbin/pkg/pkg.pl +++ b/usr.sbin/pkg/pkg.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg.pl,v 1.5 2001/11/07 21:00:29 espie Exp $ +# $OpenBSD: pkg.pl,v 1.6 2001/11/08 20:43:00 espie Exp $ # # Copyright (c) 2001 Marc Espie. # @@ -266,7 +266,7 @@ sub solve_dependencies push(@{$verify{$name}}, [$pattern, $def]); push(@lines, "\@comment newdepend $name:$pattern:$def"); } elsif (m/^\@libdepend\s+/) { - my ($libspec, $name, $pattern, $def) = split(/\:/, $'); + my ($name, $libspec, $pattern, $def) = split(/\:/, $'); unless (defined $verify{$name}) { $verify{$name} = []; } |