Skip Menu |

This queue is for tickets about the Alien-wxWidgets CPAN distribution.

Report information
The Basics
Id: 43932
Status: resolved
Priority: 0/
Queue: Alien-wxWidgets

People
Owner: Nobody in particular
Requestors: cm [...] therek.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.42
Fixed in: (no value)



Subject: -lc_r use in modern FreeBSD
Modern FreeBSD systems use libpthread instead of libc_r, so my guess would be to change inc/My/Build/Any_wx_config.pm in future release to reflect that (see attached diff).
Subject: inc-My-Build-Any_wx_config.pm.diff
--- 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} = {};