summaryrefslogtreecommitdiffstats
path: root/libraries/PDCurses/PDCurses-3.6-makefile-in.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/PDCurses/PDCurses-3.6-makefile-in.patch')
-rw-r--r--libraries/PDCurses/PDCurses-3.6-makefile-in.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/libraries/PDCurses/PDCurses-3.6-makefile-in.patch b/libraries/PDCurses/PDCurses-3.6-makefile-in.patch
new file mode 100644
index 0000000000..a3065db868
--- /dev/null
+++ b/libraries/PDCurses/PDCurses-3.6-makefile-in.patch
@@ -0,0 +1,28 @@
+--- x11/Makefile.in.orig 2018-01-26 17:56:15.000000000 -0800
++++ x11/Makefile.in 2018-06-14 13:42:43.989390736 -0700
+@@ -13,9 +13,9 @@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-libdir = @libdir@
+-bindir = @bindir@
+-includedir = @includedir@
++libdir = $(DESTDIR)@libdir@
++bindir = $(DESTDIR)@bindir@
++includedir = $(DESTDIR)@includedir@
+
+ PDCURSES_CONFIG_H =$(osdir)/config.h
+ PDCURSES_CURSES_H =$(PDCURSES_SRCDIR)/curses.h
+@@ -62,8 +62,12 @@
+ $(INSTALL) -d -m 755 $(includedir)
+ $(INSTALL) -d -m 755 $(includedir)/xcurses
+ $(INSTALL) -c -m 644 $(PDCURSES_CURSES_H) \
++ $(includedir)/xcurses.h
++ $(INSTALL) -c -m 644 $(PDCURSES_CURSES_H) \
+ $(includedir)/xcurses/curses.h
+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h \
++ $(includedir)/xpanel.h
++ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h \
+ $(includedir)/xcurses/panel.h
+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/term.h \
+ $(includedir)/xcurses/term.h