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.

55 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../e3/e3-make.patch
  5. # Copyright (C) 2011 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -up e3-2.8/Makefile.make e3-2.8/Makefile
  17. --- e3-2.8/Makefile.make 2010-05-27 20:58:59.000000000 +0200
  18. +++ e3-2.8/Makefile 2011-01-13 09:28:25.253712906 +0100
  19. @@ -39,11 +39,11 @@ all: 32
  20. 32: $(ASOURCES) Makefile
  21. ifeq ($(OS),LINUX)
  22. - nasm -O2 -f bin -l e3.lst -o e3 e3.asm -DCRIPLED_ELF=1 -D$(OS) -D$(EXMODE)
  23. + nasm -O2 -f bin -l e3.lst -o e3 e3.asm -DCRIPLED_ELF=1 -D$(OS)
  24. chmod +x e3
  25. else
  26. echo $(ASVER)
  27. - nasm -O2 $(AFLAGS) -o e3.o e3.asm -l e3.lst -D$(OS) -D$(EXMODE)
  28. + nasm -O2 $(AFLAGS) -o e3.o e3.asm -l e3.lst -D$(OS)
  29. ld -s -o e3 e3.o
  30. strip --remove-section .comment e3
  31. endif
  32. @@ -71,13 +71,15 @@ endif
  33. # -------------------------------------------------
  34. install: e3
  35. - install -d $(PREFIX) $(BINDIR) $(MANDIR)
  36. + install -d $(BINDIR) $(MANDIR)
  37. install -m 755 e3 $(BINDIR)
  38. - ln -sf $(BINDIR)/e3 $(BINDIR)/e3ws
  39. - ln -sf $(BINDIR)/e3 $(BINDIR)/e3em
  40. - ln -sf $(BINDIR)/e3 $(BINDIR)/e3pi
  41. - ln -sf $(BINDIR)/e3 $(BINDIR)/e3vi
  42. - ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne
  43. + (cd $(BINDIR); \
  44. + ln -sf $(BINDIR)/e3 $(BINDIR)/e3ws; \
  45. + ln -sf $(BINDIR)/e3 $(BINDIR)/e3em; \
  46. + ln -sf $(BINDIR)/e3 $(BINDIR)/e3pi; \
  47. + ln -sf $(BINDIR)/e3 $(BINDIR)/e3vi; \
  48. + ln -sf $(BINDIR)/e3 $(BINDIR)/e3ne; \
  49. + );
  50. install -m 644 e3.man $(MANDIR)/e3.$(MANSEC)
  51. clean: