ports/132912: [maintainer update] Fix for x11-toolkits/p5-Alien-wxWidgets pointyhat build errors
Cezary Morga
cm at therek.net
Sat Mar 21 20:30:02 UTC 2009
>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: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 21 20:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list