From fb71c9599eb393e478157ab35b705384a5ae9433 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 29 Oct 2007 09:54:24 +0200 Subject: [PATCH] install.pl: Fix ibutils prefix. Signed-off-by: Vladimir Sokolovsky --- install.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.pl b/install.pl index 794392e..c32a7de 100755 --- a/install.pl +++ b/install.pl @@ -2468,8 +2468,13 @@ sub build_rpm $cmd = "$pref_env rpmbuild --rebuild --define '_topdir $TOPDIR'"; $cmd .= " --target $target_cpu"; + # Prefix should be defined per package if ($parent eq "ibutils") { $packages_info{'ibutils'}{'configure_options'} .= " --with-osm=$prefix"; + $cmd .= " --define '_prefix $prefix'"; + $cmd .= " --define '_exec_prefix $prefix'"; + $cmd .= " --define '_sysconfdir $sysconfdir'"; + $cmd .= " --define '_usr $prefix'"; } elsif ( $parent eq "mvapich") { my $compiler = (split('_', $name))[1]; -- 2.46.0