Skip Menu |
 

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 14910
Status: resolved
Priority: 0/
Queue: JavaScript

People
Owner: CLAESJAC [...] cpan.org
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: [PATCH] build fixes for macosx with darwinports
Download darwin.patch
text/x-diff 997b
--- JavaScript-0.55/Makefile.PL 2005-06-28 22:49:03.000000000 +0100 +++ JavaScript-0.55.clkao/Makefile.PL 2005-10-04 12:00:26.000000000 +0100 @@ -22,11 +22,17 @@ $define .= " -DINCLUDES_IN_SMJS" } +my $lib = "-ljs"; + +if (-d "/opt/local/include/spidermonkey") { # darwinports + $inc = '-I/opt/local/include/spidermonkey'; + $lib = "-L/opt/local/lib $lib"; +} + if($ENV{JS_THREADSAFE}) { $define .= " -DJS_THREADSAFE"; } -my $lib = "-ljs"; #test for debian type libsmjs #this could probably be done better, but I'm not sure how to #get this platform independant @@ -34,7 +40,6 @@ $lib = "-lsmjs"; } - WriteMakefile( 'NAME' => 'JavaScript', 'VERSION_FROM' => 'JavaScript.pm', # finds $VERSION
Incorporated in JavaScript 1.01


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.