Commit ebb0a5e1 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

component/slapos/obs.cfg: fix after perl version up

This is a fixup of f6281e7a.
parent 4dad37fa
Pipeline #30729 failed with stage
......@@ -44,23 +44,23 @@ configure-options +=
make-options +=
DESTDIR=${buildout:destdir}
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
[intltool]
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
[autoconf]
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
[automake]
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
[firewalld]
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
[dbus]
......@@ -97,7 +97,7 @@ make-options +=
INSTALL_PREFIX=${buildout:destdir}
DESTDIR=${buildout:destdir}
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
[gobject-introspection]
pre-configure =
......@@ -105,7 +105,7 @@ pre-configure =
configure-options +=
--enable-shared
environment +=
PERL5LIB=${perl:location}/lib/5.28.1/
PERL5LIB=${perl:location}/lib/5.38.0/
post-install =
sed -i 's#!${python:location}/bin/python${python:version}#!/opt/slapos/parts/python${python:version}/bin/python${python:version}#' ${python:location}/bin/python${python:version}-config
......@@ -121,14 +121,14 @@ environment +=
[perl-CPAN-package]
perl-PERL5LIB=${perl:location}/lib/5.28.1/
perl-PERL5LIB=${perl:location}/lib/5.38.0/
pre-configure =
sed -i "s#'/opt/slapos/parts/perl#'${perl:location}#" ${perl:location}/lib/5.28.1/*-linux-thread-multi/Config.pm
sed -i "s#'/opt/slapos/parts/site_perl#'${buildout:destdir}/parts/site_perl#" ${perl:location}/lib/5.28.1/*-linux-thread-multi/Config.pm
sed -i "s#'/opt/slapos/parts/perl#'${perl:location}#" ${perl:location}/lib/5.38.0/*-linux-thread-multi/Config.pm
sed -i "s#'/opt/slapos/parts/site_perl#'${buildout:destdir}/parts/site_perl#" ${perl:location}/lib/5.38.0/*-linux-thread-multi/Config.pm
post-install =
sed -i "s#'${perl:location}#'/opt/slapos/parts/perl#" ${perl:location}/lib/5.28.1/*-linux-thread-multi/Config.pm
sed -i "s#'${buildout:destdir}/parts/site_perl#'/opt/slapos/parts/site_perl#" ${perl:location}/lib/5.28.1/*-linux-thread-multi/Config.pm
sed -i "s#'${perl:location}#'/opt/slapos/parts/perl#" ${perl:location}/lib/5.38.0/*-linux-thread-multi/Config.pm
sed -i "s#'${buildout:destdir}/parts/site_perl#'/opt/slapos/parts/site_perl#" ${perl:location}/lib/5.38.0/*-linux-thread-multi/Config.pm
[perl]
configure-command =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment