diff options
author | heinz <heinz> | 2010-01-01 13:55:32 +0000 |
---|---|---|
committer | heinz <heinz> | 2010-01-01 13:55:32 +0000 |
commit | 2a01560e45a8d6e5054cf57f50a927e169465072 (patch) | |
tree | bffe590ca5084f046c563ed952f9d723197652ac /mail | |
parent | efc06a82c27b00337a855432e74f14f03fcde7d2 (diff) | |
download | pkgsrc-2a01560e45a8d6e5054cf57f50a927e169465072.tar.gz |
Starting with ExtUtils::MakeMaker 6.43 some public variables (esp.
Recognized_Att_Keys) were made private, which broke SpamAssassin's
(ab)use of those variables. For details see
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6131.
Perl 5.10.1 includes ExtUtils::MakeMaker 6.55_2 and consequently building
SpamAssassin 3.2.5 with DESTDIR support in pkgsrc does not work anymore.
The fix changes the decision whether the used EU::MM module has good
enough DESTDIR support to depend only on the version number
(ie. mm_has_good_destdir is true) instead of the availability of the
key 'DESTDIR' in the (now non-public) Recognized_Att_Keys hash.
Ok to commit during freeze by wiz@
Diffstat (limited to 'mail')
-rw-r--r-- | mail/spamassassin/distinfo | 4 | ||||
-rw-r--r-- | mail/spamassassin/patches/patch-ab | 21 |
2 files changed, 19 insertions, 6 deletions
diff --git a/mail/spamassassin/distinfo b/mail/spamassassin/distinfo index c211a07ae2f..0e6d6a0e657 100644 --- a/mail/spamassassin/distinfo +++ b/mail/spamassassin/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.49 2008/06/22 22:41:01 heinz Exp $ +$NetBSD: distinfo,v 1.50 2010/01/01 13:55:32 heinz Exp $ SHA1 (Mail-SpamAssassin-3.2.5.tar.gz) = 14b1f6eae0221a152176f7f597f55581445e800a RMD160 (Mail-SpamAssassin-3.2.5.tar.gz) = 5a72a97d124e72ff4da1627982748377f1e34128 Size (Mail-SpamAssassin-3.2.5.tar.gz) = 1223706 bytes -SHA1 (patch-ab) = 9872b4c3e6d34cb58f84081554eff49efcfc6a6a +SHA1 (patch-ab) = debb4851d063404e0a59557603cc08b259050b26 SHA1 (patch-ae) = d46b1d8f56c8c61936c307f74b39a49da1b1f353 SHA1 (patch-aq) = 3a273c7742275647c2334382fed29c0ea33dfbd8 SHA1 (patch-ay) = ca8ea0b1e6d8fddd29d6ae960e1bf6e534d2f424 diff --git a/mail/spamassassin/patches/patch-ab b/mail/spamassassin/patches/patch-ab index 077be6b8d38..e7b871cc23b 100644 --- a/mail/spamassassin/patches/patch-ab +++ b/mail/spamassassin/patches/patch-ab @@ -1,13 +1,26 @@ -$NetBSD: patch-ab,v 1.14 2007/06/12 21:43:30 heinz Exp $ +$NetBSD: patch-ab,v 1.15 2010/01/01 13:55:32 heinz Exp $ + + - deal with internal changes of ExtUtils::MakeMaker and how SpamAssassin + (ab)used those internals regarding DESTDIR support. Will not be necessary + starting with SA 3.3.0. - enable build of qmail-spamc - some files (local.cf, *.pre) are managed by pkgsrc, disable their installation. - pkgsrc creates B_DATADIR, so there is no need to re-set permissions ---- Makefile.PL.orig 2007-04-23 14:15:49.000000000 +0200 +--- Makefile.PL.orig 2008-06-10 09:21:07.000000000 +0000 +++ Makefile.PL -@@ -167,6 +167,7 @@ my %makefile = ( +@@ -143,7 +143,7 @@ $mm_knows_destdir = $ExtUtils::MakeMa + $mm_has_good_destdir = $mm_version >= 6.11; + # Add DESTDIR hack only if it's requested (and necessary) + $mm_needs_destdir = $opt{'destdir'} && !$mm_has_good_destdir; +-$mm_has_destdir = $mm_knows_destdir || $mm_needs_destdir; ++$mm_has_destdir = $mm_has_good_destdir || $mm_needs_destdir; + push(@ATT_KEYS, 'DESTDIR') if $mm_needs_destdir; + + # Now make EU::MM understand our extended vars +@@ -174,6 +174,7 @@ my %makefile = ( 'spamassassin.raw' => 'spamassassin', 'sa-learn.raw' => 'sa-learn', 'sa-update.raw' => 'sa-update', @@ -15,7 +28,7 @@ $NetBSD: patch-ab,v 1.14 2007/06/12 21:43:30 heinz Exp $ 'sa-compile.raw' => 'sa-compile', 'spamc/spamc.c' => 'spamc/spamc$(EXE_EXT)', 'spamd/spamd.raw' => 'spamd/spamd', -@@ -1194,17 +1195,19 @@ qmail/qmail-spamc$(EXE_EXT): spamc/qmail +@@ -1201,17 +1202,19 @@ qmail/qmail-spamc$(EXE_EXT): spamc/qmail conf__install: -$(MKPATH) $(B_CONFDIR) |