Author: chromatic
Date: Tue Apr 17 00:40:55 2007
New Revision: 18259
Added:
trunk/config/init/hints/dragonflybsd.pm (contents, props changed)
Modified:
trunk/MANIFEST
Log:
Added configuration hints for DragonFlyBSD (courtesy [EMAIL PROTECTED]).
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Tue Apr 17 00:40:55 2007
@@ -316,6 +316,7 @@
config/init/hints/cygwin.pm []
config/init/hints/darwin.pm []
config/init/hints/dec_osf.pm []
+config/init/hints/dragonflybsd.pm []
config/init/hints/freebsd.pm []
config/init/hints/hpux.pm []
config/init/hints/irix.pm []
Added: trunk/config/init/hints/dragonflybsd.pm
==============================================================================
--- (empty file)
+++ trunk/config/init/hints/dragonflybsd.pm Tue Apr 17 00:40:55 2007
@@ -0,0 +1,29 @@
+# Copyright (C) 2007, The Perl Foundation.
+# $Id $
+
+package init::hints::dragonflybsd;
+
+use strict;
+
+sub runstep
+{
+ my ($self, $conf) = @_;
+
+ my $libs = $conf->data->get('libs');
+
+ $libs .= ' -pthread' unless $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;