NetBSD Problem Report #45271

From www@NetBSD.org  Fri Aug 19 11:31:18 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 6D62963CBA1
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Aug 2011 11:31:18 +0000 (UTC)
Message-Id: <20110819113117.2D8A963C0E2@www.NetBSD.org>
Date: Fri, 19 Aug 2011 11:31:17 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: math/p5-Math-Pari does not compile on Solaris with GCC 4.6
X-Send-Pr-Version: www-1.0

>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:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 19 11:35:00 +0000 2011
>Closed-Date:    Mon Aug 10 08:25:40 +0000 2015
>Last-Modified:  Mon Aug 10 08:25:40 +0000 2015
>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.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 20 Aug 2011 09:13:30 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45271 CVS commit: pkgsrc/math/p5-Math-Pari
Date: Mon, 10 Aug 2015 08:23:49 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Mon Aug 10 08:23:49 UTC 2015

 Modified Files:
 	pkgsrc/math/p5-Math-Pari: distinfo
 	pkgsrc/math/p5-Math-Pari/patches: patch-aa

 Log Message:
 PR 45271 Joern Clausen: remove old Solaris PIC-related substitution
 that nowadays breaks the build.


 To generate a diff of this commit:
 cvs rdiff -u -r1.19 -r1.20 pkgsrc/math/p5-Math-Pari/distinfo
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/p5-Math-Pari/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 10 Aug 2015 08:25:40 +0000
State-Changed-Why:
committed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.