# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../xapian-bindings/xapian-bindings-1.2.12-perl-vendor-install.patch # Copyright (C) 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- Description: Install perl modules into perl's 'vendor' directory According to http://search.cpan.org/dist/perl/INSTALL#Installation_Directories this is the right place for distributions which build binary packages of perl add-on modules. --- xapian-bindings-1.2.12/configure.ac.orig 2012-08-01 14:16:24.398047048 +0200 +++ xapian-bindings-1.2.12/configure.ac 2012-08-01 14:20:19.490029607 +0200 @@ -888,13 +888,13 @@ AC_ARG_VAR(PERL_ARCH, [Directory to install architecture-dependent perl files into]) if test -z "$PERL_ARCH" ; then - PERL_ARCH=`$PERL -MConfig -e 'print $Config{installsitearch}'` + PERL_ARCH=`$PERL -MConfig -e 'print $Config{installvendorarch}'` fi AC_SUBST(PERL_ARCH) AC_ARG_VAR(PERL_LIB, [Directory to install architecture-independent perl files into]) if test -z "$PERL_LIB" ; then - PERL_LIB=`$PERL -MConfig -e 'print $Config{installsitelib}'` + PERL_LIB=`$PERL -MConfig -e 'print $Config{installvendorlib}'` fi AC_SUBST(PERL_LIB) --- xapian-bindings-1.2.12/configure.orig 2012-08-01 14:16:28.434404225 +0200 +++ xapian-bindings-1.2.12/configure 2012-08-01 14:20:42.512886809 +0200 @@ -17313,13 +17313,13 @@ if test -z "$PERL_ARCH" ; then - PERL_ARCH=`$PERL -MConfig -e 'print $Config{installsitearch}'` + PERL_ARCH=`$PERL -MConfig -e 'print $Config{installvendorarch}'` fi if test -z "$PERL_LIB" ; then - PERL_LIB=`$PERL -MConfig -e 'print $Config{installsitelib}'` + PERL_LIB=`$PERL -MConfig -e 'print $Config{installvendorlib}'` fi