Accepting request 71384 from devel:languages:perl
-> OBS-URL: https://build.opensuse.org/request/show/71384 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=65
This commit is contained in:
commit
6a1f8cb3ba
18
perl-cbuilder-ccflags.diff
Normal file
18
perl-cbuilder-ccflags.diff
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm.orig 2011-05-26 09:23:49.000000000 +0000
|
||||||
|
+++ dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm 2011-05-26 09:26:10.000000000 +0000
|
||||||
|
@@ -40,11 +40,13 @@ sub new {
|
||||||
|
$self->{config}{$k} = $v unless exists $self->{config}{$k};
|
||||||
|
}
|
||||||
|
$self->{config}{cc} = $ENV{CC} if defined $ENV{CC};
|
||||||
|
- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS};
|
||||||
|
+ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS})
|
||||||
|
+ if defined $ENV{CFLAGS};
|
||||||
|
$self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX};
|
||||||
|
$self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS};
|
||||||
|
$self->{config}{ld} = $ENV{LD} if defined $ENV{LD};
|
||||||
|
- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS};
|
||||||
|
+ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS})
|
||||||
|
+ if defined $ENV{LDFLAGS};
|
||||||
|
|
||||||
|
unless ( exists $self->{config}{cxx} ) {
|
||||||
|
my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/);
|
11
perl.changes
11
perl.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 26 11:27:14 CEST 2011 - mls@suse.de
|
||||||
|
|
||||||
|
- backport CBuilder fix that keeps it from overwriting ccflags
|
||||||
|
from the perl config if CCFLAGS is set in the environment
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 17 16:20:56 CEST 2011 - mls@suse.de
|
||||||
|
|
||||||
|
- Test::Simple is actually 0.98
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 16 13:57:44 CEST 2011 - mls@suse.de
|
Mon May 16 13:57:44 CEST 2011 - mls@suse.de
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ Patch3: perl-nroff.diff
|
|||||||
Patch4: perl-netcmdutf8.diff
|
Patch4: perl-netcmdutf8.diff
|
||||||
Patch5: perl-HiRes.t-timeout.diff
|
Patch5: perl-HiRes.t-timeout.diff
|
||||||
Patch6: perl-saverecontext.diff
|
Patch6: perl-saverecontext.diff
|
||||||
|
Patch7: perl-cbuilder-ccflags.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: perl-base = %version
|
PreReq: perl-base = %version
|
||||||
#PreReq: %fillup_prereq
|
#PreReq: %fillup_prereq
|
||||||
@ -54,9 +55,9 @@ Provides: perl-500
|
|||||||
Provides: perl-macros
|
Provides: perl-macros
|
||||||
Obsoletes: perl-macros
|
Obsoletes: perl-macros
|
||||||
Provides: perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable
|
Provides: perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable
|
||||||
Provides: perl-Test-Simple = 0.94-%{release}
|
Provides: perl-Test-Simple = 0.98-%{release}
|
||||||
Obsoletes: perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable
|
Obsoletes: perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable
|
||||||
Obsoletes: perl-Test-Simple < 0.94
|
Obsoletes: perl-Test-Simple < 0.98
|
||||||
Provides: perl-Text-Balanced perl-Time-HiRes perl-libnet
|
Provides: perl-Text-Balanced perl-Time-HiRes perl-libnet
|
||||||
Obsoletes: perl-Text-Balanced perl-Time-HiRes perl-libnet
|
Obsoletes: perl-Text-Balanced perl-Time-HiRes perl-libnet
|
||||||
Provides: perl-Compress-Zlib perl-Compress-Raw-Zlib
|
Provides: perl-Compress-Zlib perl-Compress-Raw-Zlib
|
||||||
@ -134,6 +135,7 @@ cp -p %{S:3} .
|
|||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
|
%patch7
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp -a lib savelib
|
cp -a lib savelib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user