[pve-devel] applied: [PATCH cluster v2 2/2] change installarchlib to vendorarch

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Apr 5 12:12:28 CEST 2017


applied to both master and stable-4

On Tue, Apr 04, 2017 at 02:40:58PM +0200, Dominik Csapak wrote:
> installarchlib is
> /usr/lib/<arch>/perl/5.24
> which is only a symlink provided by libperl5.24 and not suited
> to install files in it directly
> 
> vendorarch is
> /usr/lib/<arch>/perl5/5.24
> which is the correct location for installing arch libraries
> (we already use this in librados2-perl)
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  data/PVE/Makefile.am | 2 +-
>  data/configure.ac    | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/data/PVE/Makefile.am b/data/PVE/Makefile.am
> index d2508fa..6a38431 100644
> --- a/data/PVE/Makefile.am
> +++ b/data/PVE/Makefile.am
> @@ -8,7 +8,7 @@ AM_CFLAGS = -shared -fPIC -Wl,-z,relro -Wall -Werror -Wno-strict-aliasing $(PERL
>  LDADD = $(QB_LIBS)
>  
>  perlbin_PROGRAMS = IPCC.so
> -perlbindir = $(PERL_INSTALLARCHLIB)/auto/PVE/IPCC
> +perlbindir = $(PERL_VENDORARCH)/auto/PVE/IPCC
>  
>  # this require package pve-doc-generator
>  export NOVIEW=1
> diff --git a/data/configure.ac b/data/configure.ac
> index b4cf2e2..b113f5d 100644
> --- a/data/configure.ac
> +++ b/data/configure.ac
> @@ -67,10 +67,10 @@ AC_SUBST(PERL)
>  
>  PERL_INC="$(perl -MExtUtils::Embed -e perl_inc)"
>  PERL_VENDORLIB="$(perl -MConfig -e 'print $Config{vendorlibexp}')"
> -PERL_INSTALLARCHLIB="$(perl -MConfig -e 'print $Config{installarchlib}')"
> +PERL_VENDORARCH="$(perl -MConfig -e 'print $Config{vendorarch}')"
>  AC_SUBST(PERL_INC)
>  AC_SUBST(PERL_VENDORLIB)
> -AC_SUBST(PERL_INSTALLARCHLIB)
> +AC_SUBST(PERL_VENDORARCH)
>  
>  # Checks for header files.
>  AC_HEADER_DIRENT
> -- 
> 2.11.0




More information about the pve-devel mailing list