summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \