Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2010 18:10:58 GMT
From:      pe <pe.freethread@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150561: bugfix for /usr/ports/lang/p5-JavaScript-SpiderMonkey
Message-ID:  <201009141810.o8EIAwrx061296@www.freebsd.org>
Resent-Message-ID: <201009141820.o8EIK1A3083000@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150561
>Category:       ports
>Synopsis:       bugfix for /usr/ports/lang/p5-JavaScript-SpiderMonkey
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 14 18:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     pe
>Release:        8.0-RELEASE-p2
>Organization:
none
>Environment:
FreeBSD alpha.freethread.lan 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Thu Mar  4 20:56:31 CET 2010     root@alpha.lan:/usr/obj/usr/src/sys/ALPHA-0800-RELEASE  i386
>Description:
The port does not compile, the port /usr/ports/lang/spidermonkey is installed. 

This is the result:

 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 This module requires the SpiderMonkey C library -- please read the
 README file on how to download, compile and link it.
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 Can't open Makefile: No such file or directory.
 ===>  Building for p5-JavaScript-SpiderMonkey-0.20
 make: cannot open Makefile.
 *** Error code 1

 Stop in /usr/ports/lang/p5-JavaScript-SpiderMonkey.

>How-To-Repeat:

>Fix:
Make changes to Makefile.PL, comment out 5 lines starting at line # 74:


74         foreach my $headerfile(glob "$include_path/*/$c_header") {
75           my $include_dir = $headerfile;
76           $include_dir =~ s/$c_header$//;
77           push @JS_INCL_DIRS, $include_dir;
78         }


it could be coded better to search header files in $include_path sub-directories.

The port also has options

   E4X             - JS language extesions
   JS_THREADSAFE   - Multi threading

it should be better to show the options dialog when installing. To use options with Makefile.PL:

   perl Makefile.PL E4X JS_THREADSAFE




>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009141810.o8EIAwrx061296>