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.

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