freebsd-ports/security/botan/files/patch-configure.pl
Cheng-Lung Sung 248851deac - Update to 1.4.0
- Change MASTER_SITES
- fixed build error in 5.x (compare to ports/69194)

PR:		ports/70444
Approved by:	vanilla (co-mentor)
2004-08-26 10:07:01 +00:00

15 lines
401 B
Perl

--- configure.pl.orig Sat Jun 26 14:32:52 2004
+++ configure.pl Fri Jul 16 16:53:50 2004
@@ -2007,7 +2007,11 @@
my $link_to = "-lm";
foreach my $lib (@{ $lib_list })
{
- $link_to .= " -l" . $lib;
+ if ($lib =~ m/pthread/) {
+ $link_to .= " -" . $lib;
+ } else {
+ $link_to .= " -l" . $lib;
+ }
}
##################################################