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.

70 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/e16menuedit/e16-location.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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. --- e16menuedit-0.1/Makefile.orig-rock-maint 2003-08-27 21:40:29.000000000 +0200
  20. +++ e16menuedit-0.1/Makefile 2003-08-29 06:30:07.000000000 +0200
  21. @@ -10,23 +10,24 @@
  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 = -D_GNU_SOURCE
  32. +#CFLAGS = \
  33. +# -O -g -D_GNU_SOURCE $(CFLAGS)
  34. #CFLAGS = \
  35. # -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
  36. OPTFLAGS = \
  37. -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
  38. INCLUDES = \
  39. - `gtk-config --cflags` -I..
  40. + `$(GTK_CONFIG) --cflags` -I..
  41. BIN = e16menuedit
  42. # configurable stuff
  43. -BINARY_DESTINATION = /usr/local/enlightenment/bin
  44. -DATA_DESTINATION = /usr/local/enlightenment/share
  45. +BINARY_DESTINATION = $(E16)/bin
  46. +DATA_DESTINATION = $(E16)/share
  47. # commands to do things
  48. INSTALL = install
  49. @@ -92,14 +93,8 @@
  50. $(RMRF) $(BIN) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut $(DIST) $(DIST).tar $(DIST).tar.gz ./=build ./=install "#"*
  51. # how to install
  52. -install:: e
  53. - @echo
  54. - @echo
  55. - @echo "You don't really want to do this. it doesn't work yet."
  56. - @echo
  57. - @echo
  58. -# for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(prefix)$(BINARY_DESTINATION)/$$I; done
  59. -# for I in $(DATA); do $(INSTALL) -D -m 0664 $$I $(prefix)$(DATA_DESTINATION)/$$I; done
  60. +install::
  61. + for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(BINARY_DESTINATION)/$$I; done
  62. # how to make a dist tarball
  63. dist::