Ubuntu Lucid needs MARC::Record from CPAN
authorDan Scott <dan@coffeecode.net>
Tue, 26 Jul 2011 00:09:18 +0000 (20:09 -0400)
committerDan Scott <dan@coffeecode.net>
Tue, 26 Jul 2011 00:15:27 +0000 (20:15 -0400)
As Ubuntu Lucid ships with MARC::Record 2.0.0, and Serials requires
2.0.1 or greater, we must install MARC::Record from CPAN or face failing
open-ils.search requests.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/extras/Makefile.install

index 2a3afa7..f008ef3 100644 (file)
@@ -246,9 +246,12 @@ CPAN_MODULES_SAFE = \
 CPAN_MODULES_MARC = \
        Business::ISBN \
        Business::ISBN::Data \
-    MARC::Charset \
-    MARC::File::XML \
-    Net::Z3950::ZOOM
+       MARC::Charset \
+       MARC::File::XML \
+       Net::Z3950::ZOOM
+
+CPAN_MODULES_MARC_RECORD = \
+       MARC::Record
 
 CPAN_MODULES_FORCE = \
        Class::DBI::Frozen::301
@@ -273,7 +276,7 @@ squeeze: install_pgsql_client_debs_90  install_extra_debs_squeeze
 generic_debian:  install_debs test_for_libdbi_pkg install debian_sys_config install_cpan_force
 
 ubuntu-lucid: lucid generic_ubuntu
-lucid: install_pgsql_client_debs_90 install_extra_debs
+lucid: install_pgsql_client_debs_90 install_extra_debs install_cpan_marc_record
 generic_ubuntu: install_debs test_for_libdbi_pkg install debian_sys_config install_cpan_more install_cpan_safe install_cpan_force
 
 # - COMMON TARGETS ---------------------------------------------------------
@@ -286,9 +289,12 @@ install_cpan_more:
        for m in $(CPAN_MODULES_MORE); do perl -MCPAN -e "install \"$$m\";"; done
 
 # Install the CPAN modules for MARC functionality
-install_cpan_marc: 
+install_cpan_marc: install_cpan_marc_record
        for m in $(CPAN_MODULES_MARC); do perl -MCPAN -e "install \"$$m\";"; done
 
+install_cpan_marc_record:
+       for m in $(CPAN_MODULES_MARC_RECORD); do perl -MCPAN -e "install \"$$m\";"; done
+
 install_cpan_force:
        for m in $(CPAN_MODULES_FORCE); do \
                echo "force install $$m" | perl -MCPAN -e shell ;\