summaryrefslogtreecommitdiff
path: root/spamassassin-courier/PKGBUILD
diff options
context:
space:
mode:
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 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 \