From 8bf8e1ae69f60fad1a35a2bc3a766946d0c6e4a7 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 2 Sep 2008 04:10:41 +0000 Subject: [PATCH] Overcome a problem building DateTime::Format::ISO8601 on CentOS git-svn-id: svn://svn.open-ils.org/ILS/trunk@10501 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/extras/Makefile.install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install index 02c71af61d..ee972bed9e 100644 --- a/Open-ILS/src/extras/Makefile.install +++ b/Open-ILS/src/extras/Makefile.install @@ -180,6 +180,10 @@ PGSQL_CENTOS = \ postgresql-pl \ postgresql-server +# Avoids a weak reference error that otherwise sinks DateTime:Format:ISO8601 +CENTOS_PERL_FORCE = \ + Scalar::Util + # Some of these packages have stupid bugs in their test suites # that are simply too painful to workaround CENTOS_PERL_NOTEST = \ @@ -445,6 +449,7 @@ install_centos_pgsql: yum -y install $(PGSQL_CENTOS) install_centos_perl: + for m in $(CENTOS_PERL_FORCE); do perl -MCPAN -e "CPAN::Shell->force(qw/install $$m);"; done for m in $(CENTOS_PERL); do perl -MCPAN -e "install \"$$m\";"; done for m in $(CENTOS_PERL_VERSION); do perl -MCPAN -e "CPAN::Shell->install \"$$m\";"; done for m in $(CENTOS_PERL_NOTEST); do perl -MCPAN -e "CPAN::Shell->notest('install', \"$$m\";"; done -- 2.11.0