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.

72 lines
2.6 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- e16keyedit-0.2/Makefile.orig-rock-maint 2003-08-27 18:10:51.000000000 +0200
  23. +++ e16keyedit-0.2/Makefile 2003-08-29 06:32:11.000000000 +0200
  24. @@ -10,23 +10,23 @@
  25. BUILD = \
  26. LIB_DIRS = \
  27. - -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
  28. + -L$(E16)/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
  29. LIBS = \
  30. - `gtk-config --libs` -lgdbm -lgdk_imlib
  31. -CFLAGS = \
  32. - -O -g -D_GNU_SOURCE $(DEVFLAGS)
  33. + `$(GTK_CONFIG) --libs` -lgdbm -lgdk_imlib
  34. +EXTRA_CFLAGS = \
  35. + -D_GNU_SOURCE
  36. #CFLAGS = \
  37. # -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
  38. OPTFLAGS = \
  39. -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
  40. INCLUDES = \
  41. - `gtk-config --cflags` -I..
  42. + `$(GTK_CONFIG) --cflags` -I..
  43. BIN = e16keyedit
  44. # configurable stuff
  45. -BINARY_DESTINATION = /usr/local/enlightenment/bin
  46. -DATA_DESTINATION = /usr/local/enlightenment/share
  47. +BINARY_DESTINATION = $(E16)/bin
  48. +DATA_DESTINATION = $(E16)/share
  49. # commands to do things
  50. INSTALL = install
  51. @@ -92,14 +92,8 @@
  52. $(RMRF) $(BIN) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut $(DIST) $(DIST).tar $(DIST).tar.gz ./=build ./=install "#"*
  53. # how to install
  54. -install:: e
  55. - @echo
  56. - @echo
  57. - @echo "You don't really want to do this. it doesn't work yet."
  58. - @echo
  59. - @echo
  60. -# for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(prefix)$(BINARY_DESTINATION)/$$I; done
  61. -# for I in $(DATA); do $(INSTALL) -D -m 0664 $$I $(prefix)$(DATA_DESTINATION)/$$I; done
  62. +install::
  63. + for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(BINARY_DESTINATION)/$$I; done
  64. # how to make a dist tarball
  65. dist::