Hi, I have updated the pkgsrc package of parrot to the latest 0.4.10 (I hope
to maintain the following releases too), There's an ancient patch into the
package to fix the build on dragonflybsd. I have no dflybsd but it looks ok
for me.

Keep up the good work!

--pancake

# cat patches/patch-aa 
$NetBSD: patch-aa,v 1.2 2006/01/09 17:47:07 wiz Exp $

--- /dev/null   Fri Jan  6 20:33:00 2006
+++ config/init/hints/dragonflybsd.pm   Fri Jan  6 20:37:08 2006
@@ -0,0 +1,30 @@
+# Copyright: 2005 The Perl Foundation.  All Rights Reserved.
+
+package init::hints::dragonflybsd;
+
+use strict;
+
+sub runstep
+{
+    my ($self, $conf) = @_;
+
+    my $libs = $conf->data->get('libs');
+
+    if ($libs !~ /pthread/) {
+        $libs .= ' -pthread';
+    }
+
+    $conf->data->set(
+        libs                    => $libs,
+        link                    => 'g++',
+        rpath                   => '-Wl,-R',
+
+        has_dynamic_linking     => 1,
+        parrot_is_shared        => 1,
+        libparrot_shared        => 'libparrot$(SHARE_EXT).$(SOVERSION)',
+        libparrot_shared_alias  => 'libparrot$(SHARE_EXT)',
+        libparrot_soname        => 
'-Wl,-soname=libparrot$(SHARE_EXT).$(SOVERSION)',
+    );
+}
+
+1;

Reply via email to