From 9c0e41118e64a323094629328060c3b675b09302 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 4 May 2021 08:39:19 +0000 Subject: [PATCH] prevent the base pkg tools from looking under /usr/local --- usr.sbin/pkg_add/pkg_add | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.20.1