Browse Source

dpkg: improved to determine the major version of perl for using it to compose PERL_LIBDIR instead of hard-coding "perl5"

user/karasz/next/updates
Christian Wiese 15 years ago
parent
commit
de43030493
  1. 5
      archiver/dpkg/dpkg.conf

5
archiver/dpkg/dpkg.conf

@ -23,4 +23,7 @@ var_append extraconfopt ' ' '--without-start-stop-daemon'
# set libdir for dpkg perl modules so dpkg tools written in perl
# will actually find them to work properly
var_append makeinstopt ' ' "PERL_LIBDIR=$root/$SDECFG_PKG_PERL5_VENDOR_PREFIX/lib/perl5/vendor_perl/$(pkgprefix ver perl)/$arch_target"
perl_version=$(pkgprefix ver perl)
major_version=$(echo $perl_version | cut -d '.' -f1)
var_append makeinstopt ' ' "PERL_LIBDIR=$root/$SDECFG_PKG_PERL5_VENDOR_PREFIX/lib/perl$major_version/vendor_perl/$perl_version/$arch_target"

Loading…
Cancel
Save