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.

51 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dmraid/destdir.patch
  5. # Copyright (C) 2007 - 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. --- ./make.tmpl.in.orig 2011-03-20 00:23:39.436072240 +0100
  17. +++ ./make.tmpl.in 2011-03-20 00:30:29.164072238 +0100
  18. @@ -38,20 +38,20 @@
  19. # Setup directory variables
  20. prefix = @prefix@
  21. exec_prefix = @exec_prefix@
  22. -bindir = @bindir@
  23. -datadir = @datarootdir@
  24. -datarootdir = @datarootdir@
  25. -infodir = @infodir@
  26. -mandir = @mandir@
  27. -usrlibdir = @usrlibdir@
  28. +bindir = $(DESTDIR)@bindir@
  29. +datadir = $(DESTDIR)@datarootdir@
  30. +datarootdir = $(DESTDIR)@datarootdir@
  31. +infodir = $(DESTDIR)@infodir@
  32. +mandir = $(DESTDIR)@mandir@
  33. +usrlibdir = $(DESTDIR)@usrlibdir@
  34. ifeq ("@KLIBC@", "no")
  35. - libdir = @libdir@
  36. - sbindir = @sbindir@
  37. - includedir = @includedir@
  38. + libdir = $(DESTDIR)@libdir@
  39. + sbindir = $(DESTDIR)@sbindir@
  40. + includedir = $(DESTDIR)@includedir@
  41. else
  42. - libdir = @KLIBC_LIB_DIR@
  43. - sbindir = @KLIBC_SBIN_DIR@
  44. - includedir = @KLIBC_INCLUDE_DIR@
  45. + libdir = $(DESTDIR)@KLIBC_LIB_DIR@
  46. + sbindir = $(DESTDIR)@KLIBC_SBIN_DIR@
  47. + includedir = $(DESTDIR)@KLIBC_INCLUDE_DIR@
  48. endif
  49. vpath %.c $(srcdir)