From patchwork Tue Jul 12 21:43:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 969392 X-Patchwork-Delegate: ira.weiny@intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6CLgVDK012173 for ; Tue, 12 Jul 2011 21:43:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755648Ab1GLVnW (ORCPT ); Tue, 12 Jul 2011 17:43:22 -0400 Received: from nspiron-3.llnl.gov ([128.115.41.83]:56012 "EHLO smtp.llnl.gov" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754923Ab1GLVnW (ORCPT ); Tue, 12 Jul 2011 17:43:22 -0400 X-Attachments: None Received: from eris.llnl.gov (HELO trebuchet) ([134.9.2.84]) by smtp.llnl.gov with SMTP; 12 Jul 2011 14:43:21 -0700 Date: Tue, 12 Jul 2011 14:43:21 -0700 From: Ira Weiny To: "linux-rdma@vger.kernel.org" Subject: [PATCH] infiniband-diags: change perl install to vendorlib Message-Id: <20110712144321.4c1bcbf3.weiny2@llnl.gov> X-Mailer: Sylpheed 3.1.1 (GTK+ 2.18.9; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 12 Jul 2011 21:43:23 +0000 (UTC) Signed-off-by: Ira Weiny --- configure.in | 2 +- infiniband-diags.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index dfb6ba2..183223d 100644 --- a/configure.in +++ b/configure.in @@ -132,7 +132,7 @@ AC_SUBST(PERL_INSTALLDIR) if test $withperlinstalldir = "no" then - PERL_INSTALLDIR=`$PERL -e 'use Config; $T=$Config{installsitearch}; print $T;'` + PERL_INSTALLDIR=`$PERL -e 'use Config; $T=$Config{installvendorlib}; print $T;'` fi AC_SUBST(PERL_INSTALLDIR) diff --git a/infiniband-diags.spec.in b/infiniband-diags.spec.in index bcdd250..6b05483 100644 --- a/infiniband-diags.spec.in +++ b/infiniband-diags.spec.in @@ -50,7 +50,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.a %{_libdir}/*.so* %{_includedir}/infiniband/*.h -%define _perldir %(perl -e 'use Config; $T=$Config{installsitearch}; $T=~/(.*)\\/site_perl.*/; print $1;') +%define _perldir %(perl -e 'use Config; $T=$Config{installvendorlib}; print $T;') %{_perldir}/* %{_mandir}/man8/* %{_mandir}/man3/*