LP1054322 - libparent-perl not needed for Ubuntu Precise
authorBen Shum <bshum@biblio.org>
Fri, 22 Feb 2013 05:46:17 +0000 (00:46 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 15 Mar 2013 16:31:56 +0000 (12:31 -0400)
The newer version of Perl 5.14 which comes with Ubuntu Precise already
contains the contents of libparent-perl, which is now an obsolete package.

Remove this dependency from the extra debs installed for Debian and Ubuntu
but then add to the extras for Debian Squeeze and create a new extras just
for Ubuntu Lucid so that it continues to be installed on those systems and
not on Ubuntu Precise.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/extras/Makefile.install

index 3d0b00b..b6e1d8c 100644 (file)
@@ -80,7 +80,6 @@ DEBS =  \
        libnet-ssh2-perl\
        libnspr4-dev\
        libole-storage-lite-perl\
-       libparent-perl \
        libspreadsheet-writeexcel-perl\
        libssh2-1-dev\
        libtext-aspell-perl\
@@ -101,8 +100,12 @@ EXTRA_DEBS = \
        yaz
 
 EXTRA_DEBS_SQUEEZE = \
+    libparent-perl \
     libuuid-tiny-perl
 
+EXTRA_DEBS_LUCID = \
+    libparent-perl
+
 EXTRA_DEBS_PRECISE = \
     libdbi-dev \
     libdbd-pgsql \
@@ -275,7 +278,7 @@ generic_debian: install_debs install_yaz test_for_libdbi_pkg install debian_sys_
 
 # Needs for Ubuntu Lucid Lynx (10.04 LTS):
 ubuntu-lucid: lucid generic_ubuntu
-lucid: install_pgsql_client_debs_90 install_extra_debs \
+lucid: install_pgsql_client_debs_90 install_extra_debs_lucid \
        install_cpan_marc_record install_yaz install_cpan_more \
        install_cpan_safe install_cpan_lucid install test_for_libdbi_pkg \
        install_libdbi
@@ -462,6 +465,10 @@ install_pgsql_server_backport_debs_91:
 install_extra_debs_squeeze: install_extra_debs
        $(APT_TOOL) install $(EXTRA_DEBS_SQUEEZE)
 
+# Install dependencies for Ubuntu 10.04:
+install_extra_debs_lucid: install_extra_debs
+       $(APT_TOOL) install $(EXTRA_DEBS_LUCID)
+
 # Install dependencies for Ubuntu 12.04:
 install_extra_debs_precise: install_extra_debs
        $(APT_TOOL) install $(EXTRA_DEBS_PRECISE)