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.

39 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../pciutils/pciutils-3.1.8-fix-libpci-abi-version-symlink.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. Fix to create proper symlinks to shared library
  17. Without this patch the symlink libpci.so -> libpci.so.3 is broken, thus we
  18. create libpci.so.3 -> libpci.so.3.1.8
  19. --- pciutils-3.1.8/Makefile.orig 2012-01-13 23:54:01.588075533 +0100
  20. +++ pciutils-3.1.8/Makefile 2012-01-14 00:40:20.924075534 +0100
  21. @@ -110,6 +110,7 @@
  22. $(DIRINSTALL) -m 755 $(DESTDIR)$(LIBDIR)
  23. $(INSTALL) -c -m 644 lib/$(PCILIB) $(DESTDIR)$(LIBDIR)
  24. ln -sf $(PCILIB) $(DESTDIR)$(LIBDIR)/$(LIBNAME).so$(ABI_VERSION)
  25. + ln -sf $(PCILIB).$(VERSION) $(DESTDIR)$(LIBDIR)/$(LIBNAME).so$(ABI_VERSION)
  26. endif
  27. install-lib: $(PCIINC_INS) lib/$(PCILIB) lib/$(PCILIBPC)
  28. @@ -119,6 +120,7 @@
  29. $(INSTALL) -c -m 644 lib/$(PCILIBPC) $(DESTDIR)$(PKGCFDIR)
  30. ifeq ($(SHARED),yes)
  31. ln -sf $(LIBNAME).so$(ABI_VERSION) $(DESTDIR)$(LIBDIR)/$(LIBNAME).so
  32. + ln -sf $(LIBNAME).so.$(VERSION) $(DESTDIR)$(LIBDIR)/$(LIBNAME).so$(ABI_VERSION)
  33. endif
  34. uninstall: all