openbsd-ports/lang/parrot/patches/patch-config_init_hints_openbsd_pm

24 lines
603 B
Plaintext
Raw Normal View History

$OpenBSD: patch-config_init_hints_openbsd_pm,v 1.2 2009/06/17 09:34:35 simon Exp $
Prevent linking with -lpthread, ticket filed upstream at
https://trac.parrot.org/parrot/ticket/265
--- config/init/hints/openbsd.pm.orig Fri Apr 17 17:06:00 2009
+++ config/init/hints/openbsd.pm Tue May 26 23:30:16 2009
@@ -16,9 +16,15 @@ sub runstep {
$conf->data->set( ccflags => $ccflags );
my $libs = $conf->data->get('libs');
+
+=for comment
+
if ( $libs !~ /-lpthread/ ) {
$libs .= ' -lpthread';
}
+
+=cut
+
$conf->data->set(
libs => $libs,
link => 'g++',