diff options
author | 2004-10-19 10:21:49 +0000 | |
---|---|---|
committer | 2004-10-19 10:21:49 +0000 | |
commit | b4f53b07adf3a13f3d871f1e2d92bf26fe3f7cea (patch) | |
tree | 903a790eb9cfa19208a73805375f736b6d3b4efd | |
parent | fix-up name of routine. (diff) | |
download | wireguard-openbsd-b4f53b07adf3a13f3d871f1e2d92bf26fe3f7cea.tar.xz wireguard-openbsd-b4f53b07adf3a13f3d871f1e2d92bf26fe3f7cea.zip |
need to prepend destdir to pkgbase for libspecs checking.
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 1a1d3c2b573..fbe18a2c39c 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.82 2004/10/18 12:03:19 espie Exp $ +# $OpenBSD: pkg_add,v 1.83 2004/10/19 10:21:49 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -943,7 +943,7 @@ sub install_package # can't check libspecs yet return () if defined $dep->{name} and $dep->{name} ne $plist->pkgname(); if (!check_lib_specs($state->{very_verbose}, - $plist->pkgbase(), $dep->{libspec})) { + $state->{destdir}.$plist->pkgbase(), $dep->{libspec})) { Warn "Can't install $pkg: incorrect libspec: ", $dep->{libspec}, "\n"; return () unless $forced{libdepends}; |