diff options
author | Erich Eckner <git@eckner.net> | 2020-01-30 09:17:30 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-30 09:17:30 +0100 |
commit | ffd8941c7d8d085ffa461246e6dd9f78951cf77b (patch) | |
tree | ac636612359e5511d7817dfcb5e2c983681bea48 /spamassassin-courier | |
parent | bbf99a67cf0a5e7e7e37c07b0f93564e3d713aa8 (diff) | |
download | archlinuxewe-ffd8941c7d8d085ffa461246e6dd9f78951cf77b.tar.xz |
spamassassin-courier: drop *PERL* variables from env to ensure a non-local build
Diffstat (limited to 'spamassassin-courier')
-rw-r--r-- | spamassassin-courier/PKGBUILD | 8 |
1 files changed, 8 insertions, 0 deletions
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 \ |