9
0
forked from pool/OpenIPMI
Files
OpenIPMI/OpenIPMI-prefer_perl_vendor.patch
Thomas Renninger 3e390a39d7 Accepting request 921956 from home:trenn:branches:systemsmanagement
- Add latest mainline fixes:
A    lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
A    unix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch 

- Update to version 2.0.31
  Adopted patches to latest sources:
M    OpenIMPI-add-libncurses.patch
M    OpenIPMI-no-return-in-nonvoid-function.patch
M    OpenIPMI-prefer_perl_vendor.patch
M    fix_dia_version_detection.patch
M    openipmi-tinfo.patch

- Use Python3 instead of Python2 (bsc#1190999).

OBS-URL: https://build.opensuse.org/request/show/921956
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=64
2021-09-28 08:36:49 +00:00

18 lines
1.0 KiB
Diff

Index: OpenIPMI-2.0.31/configure.ac
===================================================================
--- OpenIPMI-2.0.31.orig/configure.ac
+++ OpenIPMI-2.0.31/configure.ac
@@ -455,10 +455,10 @@ if test "x$perlcflags" = "x" -o "x$perli
if test "x$perlinstalldir" = "x"; then
perlinstalldir=`(eval \`perl -V:installvendorarch\`; echo $installvendorarch)`
if test "x$perlinstalldir" = "x" -o ! -d "$perlinstalldir"; then
- perlinstalldir=`$perlprog -e 'for $i (@INC) { if ($i =~ /site_perl\/.+\/.+/) { print "$i"; last; } }'`
+ perlinstalldir=`$perlprog -e 'for $i (@INC) { if ($i =~ /vendor_perl\/.+\/.+/) { print "$i"; last; } }'`
fi
if test "x$perlinstalldir" = "x" -o ! -d "$perlinstalldir"; then
- perlinstalldir=`$perlprog -e 'for $i (@INC) { if ($i =~ /vendor_perl\/.+\/.+/) { print "$i"; last; } }'`
+ perlinstalldir=`$perlprog -e 'for $i (@INC) { if ($i =~ /site_perl\/.+\/.+/) { print "$i"; last; } }'`
fi
if test "x$perlinstalldir" = "x" -o ! -d "$perlinstalldir"; then
perlinstalldir=$perldir