pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-File-LibMagic Updating patches/patch-aa to re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebddbfe9a7cc
branches:  trunk
changeset: 393952:ebddbfe9a7cc
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat May 30 20:02:07 2009 +0000

description:
Updating patches/patch-aa to remove the Devel::CheckLib usage. First,
pkgsrc checks the dependencies and second, Devel::CheckLib breaks on
AIX.

diffstat:

 devel/p5-File-LibMagic/distinfo         |   4 ++--
 devel/p5-File-LibMagic/patches/patch-aa |  21 +++++++++++++++++----
 2 files changed, 19 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 965493615a90 -r ebddbfe9a7cc devel/p5-File-LibMagic/distinfo
--- a/devel/p5-File-LibMagic/distinfo   Sat May 30 19:18:01 2009 +0000
+++ b/devel/p5-File-LibMagic/distinfo   Sat May 30 20:02:07 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2009/05/28 22:48:47 sno Exp $
+$NetBSD: distinfo,v 1.6 2009/05/30 20:02:07 sno Exp $
 
 SHA1 (File-LibMagic-0.96.tgz) = 1624150be5e0994948556f63481f2779b3ffa024
 RMD160 (File-LibMagic-0.96.tgz) = 7df156a037b0e8ccf24cd15b7bf65eb11f74d2b9
 Size (File-LibMagic-0.96.tgz) = 16942 bytes
-SHA1 (patch-aa) = eac90a443400e92827f1a01c6dd61ae3e0b84a13
+SHA1 (patch-aa) = 55530d7bfe289051124a19c386b018c224e64f5e
diff -r 965493615a90 -r ebddbfe9a7cc devel/p5-File-LibMagic/patches/patch-aa
--- a/devel/p5-File-LibMagic/patches/patch-aa   Sat May 30 19:18:01 2009 +0000
+++ b/devel/p5-File-LibMagic/patches/patch-aa   Sat May 30 20:02:07 2009 +0000
@@ -1,10 +1,23 @@
-$NetBSD: patch-aa,v 1.3 2009/05/17 13:54:38 sno Exp $
+$NetBSD: patch-aa,v 1.4 2009/05/30 20:02:07 sno Exp $
 
-Ensure we use the required ldflags for the platform.
+- Remove Devel::CheckLib invocation - it#s useless and won't work
+  (RT #46543, #43826)
+- Ensure we use the required ldflags for the platform.
 
 --- Makefile.PL.orig   2009-05-12 13:31:06.000000000 +0000
-+++ Makefile.PL        2009-05-17 13:36:43.000000000 +0000
-@@ -15,7 +15,7 @@
++++ Makefile.PL        2009-05-30 19:47:40.000000000 +0000
+@@ -4,18 +4,13 @@
+ use ExtUtils::MakeMaker;
+ use Config qw/%Config/;
+ 
+-use lib qw(inc);
+-use Devel::CheckLib;
+-
+-check_lib_or_exit( lib => 'magic', header => 'magic.h' );
+-
+ WriteMakefile(
+     'NAME'            => 'File::LibMagic',
+     'VERSION_FROM'    => 'LibMagic.pm', # finds $VERSION
      'PREREQ_PM'               => { },
      'ABSTRACT_FROM'     => 'LibMagic.pm', # retrieve abstract from module
      'AUTHOR'            => 'Andreas Fitzner <andreas.fitzner%fv-berlin.de@localhost>',



Home | Main Index | Thread Index | Old Index