Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37399849
en ru br
ALT Linux repos
S:3.15-alt1
5.0: 1.22-alt1
4.1: 1.22-alt1
4.0: 1.20-alt2
3.0: 1.19-alt3

Group :: Development/Perl
RPM: perl-libnet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: perl-libnet-1.16-alt-buildreq.patch
Download


--- libnet-1.16/Configure~	2003-06-20 00:38:25 +0000
+++ libnet-1.16/Configure	2003-06-20 00:41:24 +0000
@@ -241,6 +241,7 @@ $libnet_cfg = "libnet.cfg"
 my %oldcfg = ();
 
 $Net::Config::CONFIGURE = 1; # Suppress load of user overrides
+if (0) {
 if( -f $libnet_cfg )
  {
   %oldcfg = ( %{ do $libnet_cfg } );
@@ -250,6 +251,7 @@ elsif (eval { require Net::Config }) 
   $have_old = 1;
   %oldcfg = %Net::Config::NetConfig;
  }
+}
 
 map { $cfg{lc $_} = $cfg{$_}; delete $cfg{$_} if /[A-Z]/ } keys %cfg;
 
--- libnet-1.16/Makefile.PL	2003-06-18 17:41:43 +0000
+++ libnet-1.16.my/Makefile.PL	2003-06-20 01:06:27 +0000
@@ -41,15 +41,7 @@ sub MY::post_initialize
  my $config_pm = "Net/libnet.cfg";
  my $libnet_cfg = "libnet.cfg";
 
- # Use %INC and ExtUtils::MakeMaker to determine how this machine
- # maps package names to path names
-
- foreach (keys %INC) {
-  last if ($config_pm = $_) =~ s/^ExtUtils(.)MakeMaker.pm/Net${1}libnet.cfg/;
- }
-
- system(($^O eq 'VMS' ? 'mcr ': ()),$^X, 'Configure')
-	unless -f $libnet_cfg;
+ system(($^O eq 'VMS' ? 'mcr ': ()),$^X, 'Configure');
 
  $self->{PM}->{$libnet_cfg} = $self->catfile('$(INST_LIBDIR)',$config_pm);
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin