freebsd-ports/security/botan/files/patch-configure.pl
Cheng-Lung Sung a238f0f37f - update to 1.4.12
- fix unfetchable
- modified patch-configure.pl
  ! Merged doc/rngs.txt into the main API document
2006-04-15 08:30:23 +00:00

23 lines
603 B
Perl

--- configure.pl.orig Mon Jan 16 12:13:55 2006
+++ configure.pl Sat Apr 15 15:48:03 2006
@@ -74,7 +74,6 @@
'deprecated.txt' => $DOC_DIR,
'license.txt' => $DOC_DIR,
'log.txt' => $DOC_DIR,
- 'rngs.txt' => $DOC_DIR,
'thanks.txt' => $DOC_DIR,
'todo.txt' => $DOC_DIR
);
@@ -2040,7 +2039,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;
+ }
}
##################################################