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: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 19 11:35:00 +0000 2011
>Last-Modified: Sat Aug 20 09:13:30 +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.
>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.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano 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.