From 66281ba568c863f7738b94d98ae7e0d2ae2476b6 Mon Sep 17 00:00:00 2001
From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 22 Mar 2011 01:24:43 +0000
Subject: [PATCH] Build libjs from source for now until the Perl threading
 problem can be reliably tested

The previous commit changed JavaScript::SpiderMonkey to be built without
thread safety, but on Fedora we had been installing the js-devel package
(which was threaded). As you can't build a non-threaded
JavaScript::SpiderMonkey on top of a threaded libjs, for now we'll make
Fedora build a non-threaded libjs from source just like the other distros.

Note that the problem with threaded JavaScript::SpiderMonkey surfaced
on Debian Lenny when targeting holds. Lenny has libthreads-perl 1.71, but
a number of fixes have been committed to subsequent versions
(http://cpansearch.perl.org/src/JDHEDDEN/threads-1.82/Changes) - so
threading support might be reliable on more current distros. Once we
have a reliable test, we might be able to go back to the packaged
version of libjs.


git-svn-id: svn://svn.open-ils.org/ILS/trunk@19846 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/src/extras/Makefile.install | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install
index e6864dd3ad..2068d9f543 100644
--- a/Open-ILS/src/extras/Makefile.install
+++ b/Open-ILS/src/extras/Makefile.install
@@ -157,7 +157,6 @@ CENTOS_PERL = \
 FEDORA_13_RPMS = \
 	aspell \
 	aspell-en \
-	js-devel \
 	libdbi \
 	libdbi-dbd-pgsql \
 	libdbi-devel \
@@ -270,7 +269,7 @@ centos: install_centos_pgsql centos_like
 rhel: install_redhat_pgsql centos_like
 centos_like: install_centos_rpms install_yaz install_cpan_marc install install_centos_perl create_ld_local install_cpan_safe install_cpan_force
 
-fedora13: install_fedora_13_rpms install_cpan install_cpan_fedora install_cpan_marc install_spidermonkey install_cpan_force
+fedora13: install_fedora_13_rpms install_cpan install_cpan_fedora install_cpan_marc install_js_sm install_cpan_force
 fedora14: fedora13
 
 debian-lenny: lenny generic_debian install_cpan_more install_cpan_safe
-- 
2.11.0