Misc packages for Arch Linux
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.

68 lines
2.0 KiB

  1. diff -Naur pdcurses-4.1.0-orig/wincon/Makefile.mng pdcurses-4.1.0/wincon/Makefile.mng
  2. --- pdcurses-4.1.0-orig/wincon/Makefile.mng 2019-05-09 02:27:41.000000000 +0300
  3. +++ pdcurses-4.1.0/wincon/Makefile.mng 2019-05-28 08:49:28.054006700 +0300
  4. @@ -100,8 +100,9 @@
  5. ifeq ($(DLL),Y)
  6. CFLAGS += -DPDC_DLL_BUILD
  7. LIBEXE = $(PREFIX)gcc
  8. - LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
  9. - LIBCURSES = pdcurses.dll
  10. + LIBARCHIVE = libpdcurses.dll.a
  11. + LIBFLAGS = -Wl,--out-implib,$(LIBARCHIVE) -shared -o
  12. + LIBCURSES = libpdcurses.dll
  13. LIBDEPS = $(LIBOBJS) $(PDCOBJS)
  14. LIBSADDED =
  15. EXELIBS =
  16. @@ -113,7 +114,8 @@
  17. else
  18. LIBFLAGS = rv
  19. endif
  20. - LIBCURSES = pdcurses.a
  21. + LIBARCHIVE = libpdcurses.a
  22. + LIBCURSES = $(LIBARCHIVE)
  23. LIBDEPS = $(LIBOBJS) $(PDCOBJS)
  24. LIBSADDED =
  25. EXELIBS =
  26. @@ -139,7 +141,7 @@
  27. $(LIBCURSES) : $(LIBDEPS)
  28. $(LIBEXE) $(LIBFLAGS) $@ $? $(LIBSADDED)
  29. - $(CP) pdcurses.a panel.a
  30. + $(CP) $(LIBARCHIVE) libpanel.a
  31. $(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
  32. $(PDCOBJS) : $(PDCURSES_WIN_H)
  33. diff -Naur pdcurses-4.1.0-orig/wingui/Makefile.mng pdcurses-4.1.0/wingui/Makefile.mng
  34. --- pdcurses-4.1.0-orig/wingui/Makefile.mng 2019-05-09 02:27:41.000000000 +0300
  35. +++ pdcurses-4.1.0/wingui/Makefile.mng 2019-05-28 08:48:33.963930900 +0300
  36. @@ -98,8 +98,9 @@
  37. ifeq ($(DLL),Y)
  38. CFLAGS += -DPDC_DLL_BUILD
  39. LIBEXE = $(CC)
  40. - LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
  41. - LIBCURSES = pdcurses.dll
  42. + LIBARCHIVE = libpdcurses.dll.a
  43. + LIBFLAGS = -Wl,--out-implib,$(LIBARCHIVE) -shared -o
  44. + LIBCURSES = libpdcurses.dll
  45. LIBDEPS = $(LIBOBJS) $(PDCOBJS)
  46. LIBSADDED = -lgdi32 -lcomdlg32
  47. EXELIBS =
  48. @@ -111,7 +112,8 @@
  49. else
  50. LIBFLAGS = rv
  51. endif
  52. - LIBCURSES = pdcurses.a
  53. + LIBARCHIVE = libpdcurses.a
  54. + LIBCURSES = $(LIBARCHIVE)
  55. LIBDEPS = $(LIBOBJS) $(PDCOBJS)
  56. LIBSADDED =
  57. EXELIBS = -lgdi32 -lcomdlg32
  58. @@ -137,7 +139,7 @@
  59. $(LIBCURSES) : $(LIBDEPS)
  60. $(LIBEXE) $(LIBFLAGS) $@ $? $(LIBSADDED)
  61. - $(CP) pdcurses.a panel.a
  62. + $(CP) $(LIBARCHIVE) libpanel.a
  63. $(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
  64. $(PDCOBJS) : $(PDCURSES_WIN_H)