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.

71 lines
2.2 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../lvm2/no_dynamic.diff
  5. # Copyright (C) 2006 The T2 SDE 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. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./make.tmpl.in.orig 2006-07-07 19:57:41.000000000 +0000
  17. +++ ./make.tmpl.in 2006-07-07 19:58:24.000000000 +0000
  18. @@ -110,7 +110,7 @@
  19. SUBDIRS.clean := $(SUBDIRS:=.clean)
  20. SUBDIRS.distclean := $(SUBDIRS:=.distclean)
  21. -TARGETS += $(LIB_SHARED) $(LIB_STATIC)
  22. +TARGETS += $(LIB_STATIC)
  23. all: $(SUBDIRS) $(TARGETS)
  24. --- ./tools/Makefile.in.orig 2006-04-19 15:33:06.000000000 +0000
  25. +++ ./tools/Makefile.in 2006-07-07 21:25:45.000000000 +0000
  26. @@ -66,11 +66,10 @@
  27. vgsplit.c
  28. TARGETS =\
  29. - .commands \
  30. - lvm
  31. + .commands
  32. -INSTALL_TARGETS = install_tools_dynamic
  33. -INSTALL_CMDLIB_TARGETS = install_cmdlib_dynamic
  34. +INSTALL_TARGETS =
  35. +INSTALL_CMDLIB_TARGETS =
  36. ifeq ("@STATIC_LINK@", "yes")
  37. TARGETS += lvm.static
  38. @@ -83,7 +82,7 @@
  39. CLEAN_TARGETS = liblvm2cmd.so liblvm2cmd.a lvm lvm.static lvm.cflow lvm.xref lvm.tree lvm.rxref lvm.rtree
  40. ifeq ("@CMDLIB@", "yes")
  41. - TARGETS += liblvm2cmd.so
  42. + TARGETS += liblvm2cmd.a
  43. INSTALL_TARGETS += $(INSTALL_CMDLIB_TARGETS)
  44. endif
  45. @@ -144,7 +143,7 @@
  46. $(includedir)/lvm2cmd.h
  47. install_cmdlib_static: liblvm2cmd.a
  48. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) liblvm2cmd.a \
  49. + $(INSTALL) -D $(OWNER) $(GROUP) -m 555 liblvm2cmd.a \
  50. $(libdir)/liblvm2cmd.a.$(LIB_VERSION)
  51. $(LN_S) -f liblvm2cmd.a.$(LIB_VERSION) $(libdir)/liblvm2cmd.a
  52. $(INSTALL) -D $(OWNER) $(GROUP) -m 444 lvm2cmd.h \
  53. @@ -162,7 +161,7 @@
  54. )
  55. install_tools_static: lvm.static
  56. - $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) lvm.static \
  57. + $(INSTALL) -D $(OWNER) $(GROUP) -m 555 lvm.static \
  58. $(staticdir)/lvm.static
  59. install: $(INSTALL_TARGETS)