pkgsrc-Bugs archive

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

pkg/45271: math/p5-Math-Pari does not compile on Solaris with GCC 4.6



>Number:         45271
>Category:       pkg
>Synopsis:       math/p5-Math-Pari does not compile on Solaris with GCC 4.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 19 11:35:00 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
A workaround for a linker flag in Makefile.PL is no longer needed for GCC 4.6. 
At the moment it is unclear, if it is still needed for older GCCs.
>How-To-Repeat:

>Fix:
--- Makefile.PL 2011/08/19 11:26:24     1.1
+++ Makefile.PL 2011/08/19 11:26:31
@@ -83,7 +83,6 @@
  my $self = shift;
  my $flags = $self->{'CCCDLFLAGS'}; # Tmp var needed with Perl4 !
  $flags =~ s/(-[fK]?\s*)pic\b/${1}PIC/; 
- $flags =~ s/-KPIC/-K PIC/;    # Apparently (was?) needed on Solaris...
  $self->{'CCCDLFLAGS'} = $flags;
  if ($^O eq 'MSWin32' && $Config{'ccflags'} =~ /-DPERL_OBJECT/)
   {


Please note that patch-aa already turns Makefile.PL inside out.



Home | Main Index | Thread Index | Old Index