Skip Menu |
 

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 87081
Status: new
Priority: 0/
Queue: JavaScript

People
Owner: Nobody in particular
Requestors: bokutin [...] cpan.org
Cc:
AdminCc:

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



Subject: FreeBSD 9.1
Subject: Makefile.PL.patch
Download Makefile.PL.patch
text/x-diff 1.2k
--- Makefile.PL.orig 2010-02-21 06:27:39.000000000 +0900 +++ Makefile.PL 2013-07-17 19:39:22.000000000 +0900 @@ -11,6 +11,7 @@ my @ccflags; push @ccflags, "-g3" if $ENV{JS_DEBUG}; +push @ccflags, "-lm" if $^O eq 'freebsd'; # Make sure we know what platform we are compiling for my @defines; @@ -65,6 +66,18 @@ push @incs, "/usr/local/include/mozjs/"; push @defines, "INCLUDES_IN_MOZJS"; } +# FreeBSD /usr/ports/lang/spidermonkey185 +elsif(-f "/usr/local/include/js/jsapi.h") { + push @incs, "/usr/local/include/js/"; + push @defines, "INCLUDES_IN_MOZJS"; +} +# FreeBSD /usr/ports/lang/spidermonkey17 +elsif(-f "/usr/local/include/jsapi.h") { + push @incs, "/usr/local/include/"; + push @incs, "/usr/ports/lang/spidermonkey17/work/js/src/"; # jsdbgapi.h + push @libs, "/usr/local/lib/"; + push @defines, "INCLUDES_IN_MOZJS"; +} # Debian puts nspr headers in /usr/include/nspr if (-f "/usr/include/nspr/pratom.h") { @@ -74,6 +87,10 @@ elsif (-f "/usr/include/nspr4/pratom.h") { push @incs, "/usr/include/nspr4/"; } +# FreeBSD /usr/ports/lang/spidermonkey185 +elsif (-f "/usr/local/include/nspr/pratom.h") { + push @incs, "/usr/local/include/nspr/"; +} # test for gentoo if(-f "/etc/gentoo-release") {


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.