[open-ils-commits] r10501 - trunk/Open-ILS/src/extras

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 2 00:10:44 EDT 2008


Author: dbs
Date: 2008-09-02 00:10:41 -0400 (Tue, 02 Sep 2008)
New Revision: 10501

Modified:
   trunk/Open-ILS/src/extras/Makefile.install
Log:
Overcome a problem building DateTime::Format::ISO8601 on CentOS


Modified: trunk/Open-ILS/src/extras/Makefile.install
===================================================================
--- trunk/Open-ILS/src/extras/Makefile.install	2008-09-02 03:24:10 UTC (rev 10500)
+++ trunk/Open-ILS/src/extras/Makefile.install	2008-09-02 04:10:41 UTC (rev 10501)
@@ -180,6 +180,10 @@
 	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 @@
 	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



More information about the open-ils-commits mailing list