LP#1793585: PGSQL dependency update
authorBen Shum <ben@evergreener.net>
Mon, 5 Nov 2018 20:42:51 +0000 (15:42 -0500)
committerBen Shum <ben@evergreener.net>
Fri, 14 Dec 2018 19:35:29 +0000 (14:35 -0500)
The MARC::XML cpan dependency needs to be included as part of the standalone
Postgres server install for Ubuntu 18.04.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/extras/install/Makefile.common
Open-ILS/src/extras/install/Makefile.ubuntu-bionic

index c542287..96ec3b8 100644 (file)
@@ -9,6 +9,9 @@ install_cpan_force:
                echo "force install $$m" | perl -MCPAN -e shell ;\
        done
 
+install_cpan_pgsql:
+       for m in $(CPAN_MODULES_PGSQL); do perl -MCPAN -e "install \"$$m\";"; done
+
 install_net_z3950_simpleserver:
        if [ ! -f $(LIBNET_Z3950_SIMPLESERVER).tar.gz ]; \
                then wget $(LIBNET_Z3950_SIMPLESERVER_URL).tar.gz; \
index 1e28f62..dada657 100644 (file)
@@ -89,7 +89,6 @@ export DEB_APACHE_DISCONF = \
 export CPAN_MODULES = \
        Business::OnlinePayment::PayPal \
        Email::Send \
-       MARC::XML \
        MARC::Charset \
        Net::Z3950::Simple2ZOOM
 
@@ -97,6 +96,9 @@ export CPAN_MODULES_FORCE = \
        Business::Stripe \
        Class::DBI::Frozen::301
 
+export CPAN_MODULES_PGSQL = \
+       MARC::XML
+
 PGSQL_SERVER_DEBS_96 = \
        $(DEB_PGSQL_COMMON_MODS) \
        postgresql-9.6 \
@@ -138,10 +140,12 @@ all:
        make -f $(DIR)/Makefile.debian install_debs
        make -f $(DIR)/Makefile.common install_cpan
        make -f $(DIR)/Makefile.common install_cpan_force
+       make -f $(DIR)/Makefile.common install_cpan_pgsql
        make -f $(DIR)/Makefile.debian debian_sys_config
 
 install_postgres_server:
        make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_96)"
+       make -f $(DIR)/Makefile.common install_cpan_pgsql
 
 # note: if/when grunt-cli is available as a
 # package, use the packaged version instead.