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/.../sysfsutils/sysfsutils-0001-libsysfs.pc.patch
  5. # Copyright (C) 2013 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. --- ./configure.ac.orig 2013-01-18 10:38:17.773116875 +0100
  17. +++ ./configure.ac 2013-01-18 10:39:11.996497255 +0100
  18. @@ -47,6 +47,7 @@
  19. AC_FUNC_STAT
  20. AC_CHECK_FUNCS([bzero isascii memset strchr strerror strrchr strstr strtol])
  21. +AC_CONFIG_FILES([libsysfs.pc])
  22. AC_CONFIG_FILES([Makefile
  23. lib/Makefile
  24. cmd/Makefile
  25. --- ./Makefile.am.orig 2005-12-06 10:03:17.000000000 +0100
  26. +++ ./Makefile.am 2013-01-18 10:33:46.096230349 +0100
  27. @@ -4,6 +4,9 @@
  28. includedir=@includedir@/sysfs
  29. include_HEADERS = include/libsysfs.h include/dlist.h
  30. +pkgconfigdir = $(libdir)/pkgconfig
  31. +pkgconfig_DATA = libsysfs.pc
  32. +
  33. dist-hook:
  34. rm -rf `find $(distdir)/docs -name CVS`
  35. rm -rf `find $(distdir)/include -name CVS`
  36. --- /dev/null 2013-01-18 10:33:46.096230349 +0100
  37. +++ ./libsysfs.pc.in 2013-01-18 10:43:27.806457538 +0100
  38. @@ -0,0 +1,10 @@
  39. +prefix=@prefix@
  40. +exec_prefix=@prefix@
  41. +libdir=/lib
  42. +includedir=@prefix@/include/sysfs/
  43. +
  44. +Name: libsysfs
  45. +Description: interface to sysfs
  46. +Version: @PACKAGE_VERSION@
  47. +Libs: -L${libdir} -lsysfs
  48. +Cflags: -I${includedir}