OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB

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