#! /bin/sh /usr/share/dpatch/dpatch-run ## 05_fix_MakeMaker_use.dpach.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad Mail-SpamAssassin-3.2.5~/Makefile.PL Mail-SpamAssassin-3.2.5/Makefile.PL --- Mail-SpamAssassin-3.2.5~/Makefile.PL 2008-06-10 05:21:07.000000000 -0400 +++ Mail-SpamAssassin-3.2.5/Makefile.PL 2009-10-06 17:27:33.000000000 -0400 @@ -137,9 +137,7 @@ $mm_needs_destdir, ); -# MakeMaker prior to 6.11 doesn't support DESTDIR which is needed for -# packaging with builddir!=destdir. See bug 2388. -$mm_knows_destdir = $ExtUtils::MakeMaker::Recognized_Att_Keys{DESTDIR}; +$mm_knows_destdir = 1; $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;