ports/150563: bugfix for /usr/ports/lang/p5-JavaScript-SpiderMonkey (wrong email address in prev report)
pe
freethread.sw at gmail.com
Tue Sep 14 18:40:02 UTC 2010
>Number: 150563
>Category: ports
>Synopsis: bugfix for /usr/ports/lang/p5-JavaScript-SpiderMonkey (wrong email address in prev report)
>Confidential: no
>Severity: serious
>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:40:01 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 at 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:
More information about the freebsd-ports-bugs
mailing list