openbsd-ports/lang/parrot/patches/patch-config_init_hints_openbsd_pm
simon b53846ec35 update to version 1.2.0, add shared library and disable macppc build for now.
all secondary compilers were relocated to separate projects so we need a
rakudo port to get the perl6 binary back.

this update also addresses the recent bulk fallout noticed by naddy@
testing by sthen@ and ajacoutot@, thanks!
2009-06-17 09:34:35 +00:00

24 lines
603 B
Plaintext

$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++',