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.

63 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../embutils/parallelism.patch
  5. # Copyright (C) 2007 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. --- ./Makefile.orig 2006-08-03 06:54:04.000000000 -0400
  17. +++ ./Makefile 2007-03-28 00:21:50.000000000 -0400
  18. @@ -33,13 +33,11 @@
  19. #CFLAGS=-pipe -g
  20. -$(OBJDIR)/%.o: %.c
  21. - @test -d $(OBJDIR) || mkdir $(OBJDIR)
  22. +$(OBJDIR)/%.o: %.c $(OBJDIR)
  23. $(DIET) $(CROSS)gcc $(CFLAGS) $(FLAGS) -c $< -o $@
  24. $(CROSS)strip -x -R .comment -R .note $@
  25. $(OBJDIR)/%.o: %.S $(OBJDIR)
  26. - @test -d $(OBJDIR) || mkdir $(OBJDIR)
  27. $(DIET) $(CROSS)gcc -pipe -c $< -o $@
  28. $(OBJDIR)/%: $(OBJDIR)/%.o
  29. @@ -51,13 +49,13 @@
  30. $(OBJDIR)/renice: $(OBJDIR)/renice.o $(OBJDIR)/fmt_long.o $(OBJDIR)/fmt_ulong.o
  31. $(OBJDIR)/cp: $(OBJDIR)/mv
  32. - ln -s mv $@
  33. + ln -sf mv $@
  34. $(OBJDIR)/chgrp: $(OBJDIR)/chown
  35. - -ln -s chown $@
  36. + ln -sf chown $@
  37. $(OBJDIR)/mkfifo: $(OBJDIR)/mknod
  38. - ln -s mknod $@
  39. + ln -sf mknod $@
  40. $(OBJDIR)/mknod.o $(OBJDIR)/mkdir.o: error.c parsemode.c
  41. @@ -100,9 +98,9 @@
  42. install: $(TARGETS)
  43. test -d $(DESTDIR)$(prefix)/bin || mkdir -p $(DESTDIR)$(prefix)/bin
  44. $(INSTALL) $(TARGETS) $(DESTDIR)$(prefix)/bin
  45. - -ln -f $(DESTDIR)$(prefix)/bin/chown $(DESTDIR)$(prefix)/bin/chgrp
  46. - -ln -f $(DESTDIR)$(prefix)/bin/mv $(DESTDIR)$(prefix)/bin/cp
  47. - -ln -f $(DESTDIR)$(prefix)/bin/mknod $(DESTDIR)$(prefix)/bin/mkfifo
  48. + -ln -sf chown $(DESTDIR)$(prefix)/bin/chgrp
  49. + -ln -sf mv $(DESTDIR)$(prefix)/bin/cp
  50. + -ln -sf mknod $(DESTDIR)$(prefix)/bin/mkfifo
  51. uninstall:
  52. rm -f $(patsubst %,$(DESTDIR)$(prefix)/bin/%,$(PRGS))