infiniband-diags: change perl install to vendorlib
PATCH 1/1 infiniband-diags: change perl install to vendorlib
Signed-off-by Ira Weiny <[email protected]>
--- configure.in | 2 +- infiniband-diags.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
configure.in +1 -1
@@ -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)
infiniband-diags.spec.in +1 -1
@@ -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/*
Signature · 6 lines
1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html