From ffd8941c7d8d085ffa461246e6dd9f78951cf77b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 Jan 2020 09:17:30 +0100 Subject: spamassassin-courier: drop *PERL* variables from env to ensure a non-local build --- spamassassin-courier/PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'spamassassin-courier/PKGBUILD') diff --git a/spamassassin-courier/PKGBUILD b/spamassassin-courier/PKGBUILD index ffaf0b4cd..9ec5525f2 100644 --- a/spamassassin-courier/PKGBUILD +++ b/spamassassin-courier/PKGBUILD @@ -52,6 +52,14 @@ prepare() { build() { cd "${srcdir}/Mail-SpamAssassin-${pkgver}" + for s in $( + env \ + | grep PERL \ + | cut -d= -f1 + ); do + unset "${s}" + done + # install module in vendor directories. export PERL_USE_UNSAFE_INC=1 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \ -- cgit v1.2.3-70-g09d2