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.

63 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/.../gkrellm/libsm.patch
  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. diff -ur gkrellm-2.2.7/Makefile gkrellm-2.2.7-t2/Makefile
  17. --- gkrellm-2.2.7/Makefile 2005-05-22 18:18:44.000000000 +0200
  18. +++ gkrellm-2.2.7-t2/Makefile 2006-01-25 14:10:16.000000000 +0100
  19. @@ -207,7 +207,7 @@
  20. (cd po && ${MAKE} all)
  21. (cd src && ${MAKE} \
  22. EXTRAOBJS= SYS_LIBS="-lkvm" \
  23. - SMC_LIBS="-L/usr/X11R6/lib -lSM -lICE -Wl,-R/usr/X11R6/lib" \
  24. + SMC_LIBS="`pkg-config --libs sm`" \
  25. gkrellm )
  26. (cd server && ${MAKE} \
  27. EXTRAOBJS= SYS_LIBS="-lkvm" gkrellmd )
  28. @@ -216,7 +216,7 @@
  29. (cd po && ${MAKE} all)
  30. (cd src && ${MAKE} \
  31. EXTRAOBJS= SYS_LIBS="-lkvm -pthread" \
  32. - SMC_LIBS="-L/usr/X11R6/lib -lSM -lICE -R/usr/X11R6/lib" \
  33. + SMC_LIBS="`pkg-config --libs sm`" \
  34. gkrellm )
  35. (cd server && ${MAKE} \
  36. EXTRAOBJS= SYS_LIBS="-lkvm -pthread" gkrellmd )
  37. diff -ur gkrellm-2.2.7/src/Makefile gkrellm-2.2.7-t2/src/Makefile
  38. --- gkrellm-2.2.7/src/Makefile 2005-05-09 18:54:03.000000000 +0200
  39. +++ gkrellm-2.2.7-t2/src/Makefile 2006-01-25 14:16:58.000000000 +0100
  40. @@ -17,7 +17,7 @@
  41. MANDIRMODE ?= 755
  42. INSTALL ?= install
  43. LINK_FLAGS ?= -Wl,-E
  44. -SMC_LIBS ?= -L/usr/X11R6/lib -lSM -lICE
  45. +SMC_LIBS ?= $(shell pkg-config --libs sm)
  46. ifeq ($(without-gnutls),1)
  47. CONFIGURE_ARGS += --without-gnutls
  48. @@ -128,11 +128,11 @@
  49. netbsd1:
  50. $(MAKE) EXTRAOBJS= SYS_LIBS="-lkvm" \
  51. - SMC_LIBS="-L/usr/X11R6/lib -lSM -lICE -Wl,-R/usr/X11R6/lib" \
  52. + SMC_LIBS="`pkg-config --libs sm`" \
  53. gkrellm
  54. netbsd2:
  55. $(MAKE) EXTRAOBJS= SYS_LIBS="-lkvm -pthread" \
  56. - SMC_LIBS="-L/usr/X11R6/lib -lSM -lICE -R/usr/X11R6/lib" \
  57. + SMC_LIBS="`pkg-config --libs sm`" \
  58. gkrellm
  59. openbsd: