Sun Mar 22 22:15:20 2009 UTC ()
Adding patch to fix RT #44028: temporary file deleted to early in
compiler detection.

Oked by joerg@ and rhaen@


(sno)
diff -r1.10 -r1.11 pkgsrc/devel/p5-BSD-Resource/distinfo
diff -r0 -r1.3 pkgsrc/devel/p5-BSD-Resource/patches/patch-aa

cvs diff -r1.10 -r1.11 pkgsrc/devel/p5-BSD-Resource/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-BSD-Resource/distinfo 2009/01/04 17:24:46 1.10
+++ pkgsrc/devel/p5-BSD-Resource/distinfo 2009/03/22 22:15:20 1.11
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.10 2009/01/04 17:24:46 he Exp $ 1$NetBSD: distinfo,v 1.11 2009/03/22 22:15:20 sno Exp $
2 2
3SHA1 (BSD-Resource-1.2902.tar.gz) = 9d317a36874b5dda32a41275b506b9ee58bc8837 3SHA1 (BSD-Resource-1.2902.tar.gz) = 9d317a36874b5dda32a41275b506b9ee58bc8837
4RMD160 (BSD-Resource-1.2902.tar.gz) = bb3f31e599792b25a7252b0094cacec8729d541e 4RMD160 (BSD-Resource-1.2902.tar.gz) = bb3f31e599792b25a7252b0094cacec8729d541e
5Size (BSD-Resource-1.2902.tar.gz) = 59156 bytes 5Size (BSD-Resource-1.2902.tar.gz) = 59156 bytes
 6SHA1 (patch-aa) = 7ca4bbda8072b98409d286b841c93b006805187d

File Added: pkgsrc/devel/p5-BSD-Resource/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.3 2009/03/22 22:15:20 sno Exp $

Fix RT #44028

--- Makefile.PL.orig	2009-02-03 13:08:49.000000000 +0100
+++ Makefile.PL	2009-02-03 13:14:41.000000000 +0100
@@ -60,9 +60,9 @@
 		$ok = -s "$tmp.o";
 		$CC = $cc;
 	    }
-	    unlink("$tmp.c", "$tmp.o");
 	    last if $ok;
 	}
+	unlink("$tmp.c", "$tmp.o");
     }
     
     return $ok;