From nobody@FreeBSD.org  Sat Mar 21 20:23:58 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7F49710656C2
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Mar 2009 20:23:58 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 530AA8FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Mar 2009 20:23:58 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2LKNvCU015870
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Mar 2009 20:23:57 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2LKNv8s015863;
	Sat, 21 Mar 2009 20:23:57 GMT
	(envelope-from nobody)
Message-Id: <200903212023.n2LKNv8s015863@www.freebsd.org>
Date: Sat, 21 Mar 2009 20:23:57 GMT
From: Cezary Morga <cm@therek.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer update] Fix for x11-toolkits/p5-Alien-wxWidgets pointyhat build errors
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132912
>Category:       ports
>Synopsis:       [maintainer update] Fix for x11-toolkits/p5-Alien-wxWidgets pointyhat build errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 21 20:30:01 UTC 2009
>Closed-Date:    Sun Mar 22 10:39:07 UTC 2009
>Last-Modified:  Sun Mar 22 10:40:01 UTC 2009
>Originator:     Cezary Morga
>Release:        FeeBSD 7.1-STABLE i386
>Organization:
>Environment:
>Description:
An update for x11-toolkits/p5-Alien-wxWidgets to address pointyhat error on phase 7: make package.

Also I've removed unnecessary files/patch-inc-My-Build-Any_wx_config.pm which is done also in Makefile (the file was a leftover from previous version of this port and was accidentally attached in initial port submit, while it shouldn't).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN p5-Alien-wxWidgets.orig/files/patch-inc-My-Build-Any_wx_config.pm p5-Alien-wxWidgets/files/patch-inc-My-Build-Any_wx_config.pm
--- p5-Alien-wxWidgets.orig/files/patch-inc-My-Build-Any_wx_config.pm	2009-03-20 08:54:10.000000000 +0100
+++ p5-Alien-wxWidgets/files/patch-inc-My-Build-Any_wx_config.pm	1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
---- inc/My/Build/Any_wx_config.pm.orig	2009-03-03 17:05:39.041853122 +0000
-+++ inc/My/Build/Any_wx_config.pm	2009-03-03 17:13:50.370718202 +0000
-@@ -123,15 +123,13 @@
- 
-     foreach ( split /\s+/, $libs ) {
-         m{^-[lL]|/} && do { $config{link_libraries} .= " $_"; next; };
--        if( $_ eq '-pthread' && $^O =~ m/linux/i ) {
-+        if( $_ eq '-pthread' && $^O =~ m/(?:linux|freebsd)/i ) {
-             $config{link_libraries} .= " -lpthread";
-             next;
-         }
-         $config{link_libraries} .= " $_";
-     }
- 
--    $config{link_libraries} .= ' -lc_r' if $^O =~ /freebsd/i;
--
-     my %dlls = %{$self->wx_config( 'dlls' )};
-     $config{_libraries} = {};
- 
diff -ruN p5-Alien-wxWidgets.orig/files/patch-inc-My-Build-Base.pm p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm
--- p5-Alien-wxWidgets.orig/files/patch-inc-My-Build-Base.pm	1970-01-01 01:00:00.000000000 +0100
+++ p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm	2009-03-21 00:19:13.000000000 +0100
@@ -0,0 +1,11 @@
+--- inc/My/Build/Base.pm.orig	2009-03-21 00:11:09.000000000 +0100
++++ inc/My/Build/Base.pm	2009-03-21 00:11:36.000000000 +0100
+@@ -108,7 +108,7 @@
+     $ver =~ m/^(\d+)\.(\d+)\.(\d+)$/ and
+       $dec = $1 + $2 / 1000 + $3 / 1000000;
+ 
+-    return $dec;
++    return sprintf( "%.6f", $dec );
+ }
+ 
+ sub _init_config {


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Mar 21 21:45:47 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132912 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Mar 22 10:39:06 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132912 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/132912: commit references a PR
Date: Sun, 22 Mar 2009 10:39:14 +0000 (UTC)

 miwi        2009-03-22 10:38:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11-toolkits/p5-Alien-wxWidgets Makefile 
   Added files:
     x11-toolkits/p5-Alien-wxWidgets/files 
                                           patch-inc-My-Build-Base.pm 
   Log:
   - Fix build after wxgtk2 update
   
   PR:             132912
   Submitted by:   Cezary Morga <cm@therek.net>
   Reported by:    pavbot
   
   Revision  Changes    Path
   1.2       +1 -0      ports/x11-toolkits/p5-Alien-wxWidgets/Makefile
   1.1       +11 -0     ports/x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
