From: espie Date: Tue, 4 May 2021 08:39:19 +0000 (+0000) Subject: prevent the base pkg tools from looking under /usr/local X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9c0e41118e64a323094629328060c3b675b09302;p=openbsd prevent the base pkg tools from looking under /usr/local --- diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index a2da3b6d87d..829facd84d7 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.483 2014/12/27 23:59:44 espie Exp $ +# $OpenBSD: pkg_add,v 1.484 2021/05/04 08:39:19 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -18,6 +18,7 @@ use strict; use warnings; +no lib ('/usr/local/libdata/perl5/site_perl'); sub run {