OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   13-Jan-2007 09:37:00
  Branch: HEAD                             Handle: 2007011308370000

  Modified files:
    openpkg-src/perl-math   perl-math.patch perl-math.spec

  Log:
    remove developer crap to workaround build-problems (YAML::Node
    required)

  Summary:
    Revision    Changes     Path
    1.4         +39 -1      openpkg-src/perl-math/perl-math.patch
    1.42        +1  -1      openpkg-src/perl-math/perl-math.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-math/perl-math.patch
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 perl-math.patch
  --- openpkg-src/perl-math/perl-math.patch     27 Sep 2005 08:19:22 -0000      
1.3
  +++ openpkg-src/perl-math/perl-math.patch     13 Jan 2007 08:37:00 -0000      
1.4
  @@ -1,6 +1,6 @@
   Index: Math-BaseCnv-1.2.59M7mRX/Makefile.PL
   --- Math-BaseCnv-1.2.59M7mRX/Makefile.PL.orig        2005-09-22 16:48:27 
+0200
  -+++ Math-BaseCnv-1.2.59M7mRX/Makefile.PL     2005-09-27 10:17:01 +0200
  ++++ Math-BaseCnv-1.2.59M7mRX/Makefile.PL     2007-01-13 09:35:56 +0100
   @@ -13,4 +13,4 @@
        'Memoize'                        => 0,
      }, # Module::Name => 1.1,
  @@ -8,3 +8,41 @@
   -);
   \ No newline at end of file
   +);
  +Index: Math-BigInt-Constant-1.07/Makefile.PL
  +--- Math-BigInt-Constant-1.07/Makefile.PL.orig       2006-03-14 18:14:03 
+0100
  ++++ Math-BigInt-Constant-1.07/Makefile.PL    2007-01-13 09:35:56 +0100
  +@@ -1,34 +1,5 @@
  + use ExtUtils::MakeMaker;
  + 
  +-sub MY::metafile {
  +-  package MY;
  +-  my $self = shift;
  +-  if (!eval { require YAML; 1 })
  +-  {
  +-    warn ("YAML not installed, 'make dist' will not override META.yml");
  +-    return $self->SUPER::metafile_target(@_);
  +-  };
  +-
  +-  use YAML::Node;
  +-  my $node = YAML::Node->new({});
  +-
  +-  $node->{name}                     = $self->{DISTNAME};
  +-  $node->{version}          = $self->{VERSION};
  +-  $node->{version_from}             = $self->{VERSION_FROM};
  +-  $node->{license}          = 'perl';
  +-  $node->{distribution_type}        = 'module';
  +-  $node->{generated_by}             = "$self->{DISTNAME} version 
$self->{VERSION}";
  +-  $node->{installdirs}              = 'site';
  +-  $node->{requires}         = $self->{PREREQ_PM};
  +-
  +-  my $dump = YAML::Dump( $node );
  +-
  +-  $dump =~ s/^(.*)$/\t\$(NOECHO) \$(ECHO) "$1" >>META.yml/gm;
  +-  $dump =~ s/>>META\.yml/>META.yml/;
  +-
  +-  return "metafile:\n$dump";
  +-}
  +-
  + WriteMakefile(
  +     'NAME'          => 'Math-BigInt-Constant',
  +     'VERSION_FROM'  => 'lib/Math/BigInt/Constant.pm', # finds $VERSION
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-math/perl-math.spec
  ============================================================================
  $ cvs diff -u -r1.41 -r1.42 perl-math.spec
  --- openpkg-src/perl-math/perl-math.spec      12 Jan 2007 16:05:31 -0000      
1.41
  +++ openpkg-src/perl-math/perl-math.spec      13 Jan 2007 08:37:00 -0000      
1.42
  @@ -51,7 +51,7 @@
   Group:        Perl
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20070112
  +Release:      20070113
   
   #   package options
   %option       with_gmp    no
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to