Branchify patch from LP bug #802523 and backport to rel_2_0.
authorJason Stephenson <jstephenson@mvlc.org>
Tue, 9 Aug 2011 17:51:22 +0000 (13:51 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 23 Aug 2011 17:57:56 +0000 (13:57 -0400)
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/extras/Makefile.install

index d8e34bc..26cfab3 100644 (file)
@@ -274,6 +274,10 @@ CPAN_MODULES_MARC_RECORD = \
 CPAN_MODULES_FORCE = \
        Class::DBI::Frozen::301
 
+# Lucid needs this because the XML::RPC that comes by default is broken with Evergreen
+LUCID_CPAN = \
+       XML::RPC
+
 # ----------------------------------------------------------------------------
 
 all: 
@@ -299,7 +303,7 @@ generic_debian:  install_debs install debian_sys_config install_cpan_force
 ubuntu-hardy: hardy generic_ubuntu
 ubuntu-lucid: lucid generic_ubuntu
 hardy: install_pgsql_client_debs_82 install_yaz install_cpan_marc install_extra_encode
-lucid: install_pgsql_client_debs_84 install_extra_debs install_cpan_marc_record
+lucid: install_pgsql_client_debs_84 install_extra_debs install_cpan_marc_record install_yaz install_lucid_cpan
 generic_ubuntu: install_debs install debian_sys_config install_cpan_more install_cpan_safe install_cpan_force
 
 # - COMMON TARGETS ---------------------------------------------------------
@@ -334,6 +338,10 @@ install_cpan_fedora:
                echo "force install $$m" | perl -MCPAN -e shell;\
        done
 
+# Install the CPAN modules needed for Lucid
+install_cpan_lucid:
+       for m in $(LUCID_CPAN); do perl -MCPAN -e "install \"$$m\";"; done
+
 # Install a known working version of YAZ
 install_yaz:    
        if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;