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.

42 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../vnuml/vnuml-1.8.9-perl-vendor-install.patch
  5. # Copyright (C) 2011 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. --- vnuml-1.8.9/configure.ac.orig 2011-05-20 12:47:44.464002358 +0200
  21. +++ vnuml-1.8.9/configure.ac 2011-05-20 12:57:46.228002358 +0200
  22. @@ -40,7 +40,7 @@
  23. fi
  24. # Now implemented with --with-perl-modules-installdir
  25. -#AC_SUBST(PERL_MODULES_DIR,["`$PERL -e 'use Config;print $Config{installsitelib}'`/VNUML"])
  26. +#AC_SUBST(PERL_MODULES_DIR,["`$PERL -e 'use Config;print $Config{installvendorlib}'`/VNUML"])
  27. dnl required programs
  28. AC_PROG_LN_S
  29. @@ -243,7 +243,7 @@
  30. AC_HELP_STRING([--with-perl_modules_installroot=DIR],
  31. [root directory where perl modules will be installed (default: extracted from Perl output)]),
  32. PERL_MODULES_INSTALLROOT=$withval,
  33. - PERL_MODULES_INSTALLROOT=["`$PERL -e 'use Config;print $Config{installsitelib}'`"] )
  34. + PERL_MODULES_INSTALLROOT=["`$PERL -e 'use Config;print $Config{installvendorlib}'`"] )
  35. AC_SUBST(PERL_MODULES_INSTALLROOT)
  36. AC_CHECK_FILE([$PERL_MODULES_INSTALLROOT], AC_SUBST(PERL_MODULES_INSTALLROOT), AC_MSG_ERROR([Invalid Perl modules installroot directory: $VNUML_PERL_MODULES_INSTALLROOT. Please set the appropriate installroot directory using the --with-perl-modules-installroot.]))