aboutsummaryrefslogtreecommitdiffstats
path: root/main/spamassassin/Mail-SpamAssassin.patch
blob: 3f1111765e22b4e84cd9c0678a9650f1f78807e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Todd Rinaldo <toddr@cpanel.net>
Date: Fri, 8 Jan 2016 01:46:15 -0600
Subject: Add support for . not in @INC via PERL_USE_UNSAFE_INC

---
 modules/Mail-SpamAssassin/Mail-SpamAssassin/Makefile.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Mail-SpamAssassin/Mail-SpamAssassin/Makefile.PL b/modules/Mail-SpamAssassin/Mail-SpamAssassin/Makefile.PL
index 33ca2af01..2142dfff0 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1050,7 +1050,7 @@ QSPAMC_SRC      = spamc/qmail-spamc.c spamc/utils.c
 LIBSPAMC_SRC    = spamc/libspamc.c spamc/utils.c
 
 $(SPAMC_MAKEFILE): $(SPAMC_MAKEFILE).in $(SPAMC_MAKEFILE).win spamc/spamc.h.in
-	$(CONFIGURE) --prefix="$(I_PREFIX)" --sysconfdir="$(I_CONFDIR)" --datadir="$(I_DATADIR)" --enable-ssl="$(ENABLE_SSL)"
+	PERL_USE_UNSAFE_INC=1 $(CONFIGURE) --prefix="$(I_PREFIX)" --sysconfdir="$(I_CONFDIR)" --datadir="$(I_DATADIR)" --enable-ssl="$(ENABLE_SSL)"
 
 spamc_has_moved:
 	$(NOECHO) echo "***"