mirror of the now-defunct rocklinux.org
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.

69 lines
2.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/jsaw/e16keyedit/e16-location.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- e16keyedit-0.2/Makefile.orig-rock-maint 2003-08-27 18:10:51.000000000 +0200
  20. +++ e16keyedit-0.2/Makefile 2003-08-29 06:32:11.000000000 +0200
  21. @@ -10,23 +10,23 @@
  22. BUILD = \
  23. LIB_DIRS = \
  24. - -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
  25. + -L$(E16)/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
  26. LIBS = \
  27. - `gtk-config --libs` -lgdbm -lgdk_imlib
  28. -CFLAGS = \
  29. - -O -g -D_GNU_SOURCE $(DEVFLAGS)
  30. + `$(GTK_CONFIG) --libs` -lgdbm -lgdk_imlib
  31. +EXTRA_CFLAGS = \
  32. + -D_GNU_SOURCE
  33. #CFLAGS = \
  34. # -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
  35. OPTFLAGS = \
  36. -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
  37. INCLUDES = \
  38. - `gtk-config --cflags` -I..
  39. + `$(GTK_CONFIG) --cflags` -I..
  40. BIN = e16keyedit
  41. # configurable stuff
  42. -BINARY_DESTINATION = /usr/local/enlightenment/bin
  43. -DATA_DESTINATION = /usr/local/enlightenment/share
  44. +BINARY_DESTINATION = $(E16)/bin
  45. +DATA_DESTINATION = $(E16)/share
  46. # commands to do things
  47. INSTALL = install
  48. @@ -92,14 +92,8 @@
  49. $(RMRF) $(BIN) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut $(DIST) $(DIST).tar $(DIST).tar.gz ./=build ./=install "#"*
  50. # how to install
  51. -install:: e
  52. - @echo
  53. - @echo
  54. - @echo "You don't really want to do this. it doesn't work yet."
  55. - @echo
  56. - @echo
  57. -# for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(prefix)$(BINARY_DESTINATION)/$$I; done
  58. -# for I in $(DATA); do $(INSTALL) -D -m 0664 $$I $(prefix)$(DATA_DESTINATION)/$$I; done
  59. +install::
  60. + for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(BINARY_DESTINATION)/$$I; done
  61. # how to make a dist tarball
  62. dist::