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.

43 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../udev/no_libvolume_id_so.diff
  5. # Copyright (C) 2008 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. --- udev-118/extras/volume_id/lib/Makefile.orig 2008-01-13 00:57:18.000000000 +0200
  17. +++ udev-118/extras/volume_id/lib/Makefile 2008-01-13 00:59:17.000000000 +0200
  18. @@ -59,7 +59,7 @@
  19. libvolume_id.h \
  20. util.h
  21. -all: libvolume_id.a $(SHLIB) libvolume_id.pc
  22. +all: libvolume_id.a libvolume_id.pc
  23. .PHONY: all
  24. .DEFAULT: all
  25. @@ -102,14 +102,8 @@
  26. install: all
  27. $(INSTALL_DATA) -D libvolume_id.h $(DESTDIR)$(includedir)/libvolume_id.h
  28. - $(INSTALL_LIB) -D $(SHLIB) $(DESTDIR)$(libdir)/$(SHLIB)
  29. mkdir -p $(DESTDIR)$(usrlibdir)/
  30. - ln -sf $(SHLIB) $(DESTDIR)$(libdir)/libvolume_id.so.$(SHLIB_CUR)
  31. -ifeq ($(libdir),$(usrlibdir))
  32. - ln -sf $(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
  33. -else
  34. - ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
  35. -endif
  36. + $(INSTALL_LIB) -D libvolume_id.a $(DESTDIR)$(usrlibdir)/libvolume_id.a
  37. $(INSTALL_DATA) -D libvolume_id.pc $(DESTDIR)$(usrlibdir)/pkgconfig/libvolume_id.pc
  38. .PHONY: install