summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_add/pkg_add4
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};