From e3d14afb9dfb0abca4ba9c3063a81102cdd85e4f Mon Sep 17 00:00:00 2001 From: steven Date: Mon, 17 Nov 2008 06:13:08 +0000 Subject: [PATCH] update to 2.3 from maintainer Andreas Bihlmaier --- audio/p5-Audio-FLAC-Header/Makefile | 5 ++-- audio/p5-Audio-FLAC-Header/distinfo | 10 +++---- .../patches/patch-Makefile_PL | 26 +++++++++++++++---- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/audio/p5-Audio-FLAC-Header/Makefile b/audio/p5-Audio-FLAC-Header/Makefile index 189c404b63a..e79e38f4a74 100644 --- a/audio/p5-Audio-FLAC-Header/Makefile +++ b/audio/p5-Audio-FLAC-Header/Makefile @@ -1,12 +1,11 @@ -# $OpenBSD: Makefile,v 1.7 2008/10/02 20:31:16 simon Exp $ +# $OpenBSD: Makefile,v 1.8 2008/11/17 06:13:08 steven Exp $ SHARED_ONLY= Yes COMMENT= interface to FLAC header metadata MODULES= cpan -DISTNAME= Audio-FLAC-Header-1.9 -PKGNAME= p5-${DISTNAME}p0 +DISTNAME= Audio-FLAC-Header-2.3 CATEGORIES= audio MAINTAINER= Andreas Bihlmaier diff --git a/audio/p5-Audio-FLAC-Header/distinfo b/audio/p5-Audio-FLAC-Header/distinfo index ecaa828e82d..b271fc3b3b2 100644 --- a/audio/p5-Audio-FLAC-Header/distinfo +++ b/audio/p5-Audio-FLAC-Header/distinfo @@ -1,5 +1,5 @@ -MD5 (Audio-FLAC-Header-1.9.tar.gz) = AQv+No0I75yO+XS0OJXpxg== -RMD160 (Audio-FLAC-Header-1.9.tar.gz) = 7n2HNtI/le4unD0rYOiSEzHLFeM= -SHA1 (Audio-FLAC-Header-1.9.tar.gz) = YlAuyq8b29rUOA8bxW6GjFA6ZeM= -SHA256 (Audio-FLAC-Header-1.9.tar.gz) = +8dI312Oj9fMjpn1zMs6neXV8NIkDdAYuOLEJwJ3Soc= -SIZE (Audio-FLAC-Header-1.9.tar.gz) = 115855 +MD5 (Audio-FLAC-Header-2.3.tar.gz) = YC8UrJgBM19IGGWVREFVfA== +RMD160 (Audio-FLAC-Header-2.3.tar.gz) = 8ZXgsNSJIzveeBvP+wV/AynCnBg= +SHA1 (Audio-FLAC-Header-2.3.tar.gz) = gDYQwfiKw14Tbu3/39aRtiPcwUU= +SHA256 (Audio-FLAC-Header-2.3.tar.gz) = TNmNok5diAaGeXDeZSKDCNwmHwPV39re97dPz0b07Lg= +SIZE (Audio-FLAC-Header-2.3.tar.gz) = 117643 diff --git a/audio/p5-Audio-FLAC-Header/patches/patch-Makefile_PL b/audio/p5-Audio-FLAC-Header/patches/patch-Makefile_PL index 8db89a0dfea..b23bfb103b5 100644 --- a/audio/p5-Audio-FLAC-Header/patches/patch-Makefile_PL +++ b/audio/p5-Audio-FLAC-Header/patches/patch-Makefile_PL @@ -1,7 +1,23 @@ -$OpenBSD: patch-Makefile_PL,v 1.4 2007/09/18 18:26:52 naddy Exp $ ---- Makefile.PL.orig Sat Jan 6 00:48:45 2007 -+++ Makefile.PL Tue Sep 18 17:13:30 2007 -@@ -10,7 +10,9 @@ all_from('Header.pm'); +$OpenBSD: patch-Makefile_PL,v 1.5 2008/11/17 06:13:08 steven Exp $ +--- Makefile.PL.orig Sat May 31 21:36:22 2008 ++++ Makefile.PL Sat Nov 15 09:12:23 2008 +@@ -10,12 +10,12 @@ sub search_lib { + } + my $libbase = 'lib' . substr($lib, 2) . $Config{lib_ext}; + my $libbase_so = 'lib' . substr($lib, 2) . "." . $Config{so}; +- for my $path (split(' ', $Config{libpth})) { +- if (-f $path . '/' . $libbase) { ++ for my $path (split(' ', $ENV{'LIBPATH'})) { ++ if (-f $path . '/' . $libbase_so) { + print "$path/$libbase\n"; + print "Found '$path/$libbase'.\n"; + return $lib; +- } elsif (-f $path . '/' . $libbase_so) { ++ } elsif (-f $path . '/' . $libbase) { + print "$path/$libbase_so\n"; + print "Found `$_/$libbase_so'.\n"; + return $lib; +@@ -40,7 +40,9 @@ requires_external_cc(); if ($^O =~ /win32/i) { cc_lib_links('FLAC_static'); } else { @@ -9,6 +25,6 @@ $OpenBSD: patch-Makefile_PL,v 1.4 2007/09/18 18:26:52 naddy Exp $ + cc_inc_paths($ENV{'INCPATH'}); + cc_lib_paths($ENV{'LIBPATH'}); + cc_lib_links('FLAC', 'ogg'); - cc_optimize_flags('-Wall'); + cc_optimize_flags('-Wall') if $Config::Config{'archname'} =~ /gnu/i; }