summaryrefslogtreecommitdiff
path: root/spamassassin-courier/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-30 09:17:30 +0100
committerErich Eckner <git@eckner.net>2020-01-30 09:17:30 +0100
commitffd8941c7d8d085ffa461246e6dd9f78951cf77b (patch)
treeac636612359e5511d7817dfcb5e2c983681bea48 /spamassassin-courier/PKGBUILD
parentbbf99a67cf0a5e7e7e37c07b0f93564e3d713aa8 (diff)
downloadarchlinuxewe.git.save-ffd8941c7d8d085ffa461246e6dd9f78951cf77b.tar.xz
spamassassin-courier: drop *PERL* variables from env to ensure a non-local build
Diffstat (limited to 'spamassassin-courier/PKGBUILD')
-rw-r--r--spamassassin-courier/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/spamassassin-courier/PKGBUILD b/spamassassin-courier/PKGBUILD
index ffaf0b4c..9ec5525f 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 \