summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2021-05-04 10:19:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2021-05-04 10:19:29 +0000
commitf72ae7c5352d52f0509747a6852f7fa30bcdf3c0 (patch)
tree9cbe1bfba1db90ae12dc66595f5f8bef9ff351c7 /usr.sbin/pkg_add/OpenBSD
parent4aafdaee818af2c5e34597df5046d70177897524 (diff)
okay, prevent pkg_* from looking into /usr/local BUT special-case quirks
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/AddDelete.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
index 5d5ab0d192f..7f61d446bdd 100644
--- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: AddDelete.pm,v 1.94 2021/01/30 10:24:19 espie Exp $
+# $OpenBSD: AddDelete.pm,v 1.95 2021/05/04 10:19:28 espie Exp $
#
# Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org>
#
@@ -347,6 +347,7 @@ sub run_quirks
if (!exists $state->{quirks}) {
eval {
+ use lib ('/usr/local/libdata/perl5/site_perl');
require OpenBSD::Quirks;
# interface version number.
$state->{quirks} = OpenBSD::Quirks->new(1);