diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tcltk/iwidgets/files/4.0.1-path.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tcltk/iwidgets/files/4.0.1-path.patch')
-rw-r--r-- | dev-tcltk/iwidgets/files/4.0.1-path.patch | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/dev-tcltk/iwidgets/files/4.0.1-path.patch b/dev-tcltk/iwidgets/files/4.0.1-path.patch new file mode 100644 index 000000000000..095d9ed81e1c --- /dev/null +++ b/dev-tcltk/iwidgets/files/4.0.1-path.patch @@ -0,0 +1,63 @@ +--- iwidgets4.0.1/Makefile.in ++++ iwidgets4.0.1/Makefile.in +@@ -30,6 +30,7 @@ + + srcdir = @srcdir@ + bindir = @bindir@ ++mandir = @mandir@ + + # The following definition can be set to non-null for special systems + # like AFS with replication. It allows the pathnames used for installation +@@ -48,7 +49,9 @@ + BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin + + # Top-level directory in which to install manual entries: +-MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man/mann ++MAN_INSTALL_DIR = $(INSTALL_ROOT)$(mandir)/mann ++ ++DATA_DIR = $(INSTALL_ROOT)$(prefix)/share/iwidgets$(IWIDGETS_VERSION) + + # Directory containing Tcl source code (for library used during test): + TCL_SRC_DIR = @TCL_SRC_DIR@ +@@ -135,26 +138,26 @@ + done; + + install-demos: +- @$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/demos/images $(SCRIPT_INSTALL_DIR)/demos/html +- @echo "Installing demos from $(srcdir)/demos into $(SCRIPT_INSTALL_DIR)/demos" ++ @$(MKINSTALLDIRS) $(DATA_DIR)/demos/images $(DATA_DIR)/demos/html ++ @echo "Installing demos from $(srcdir)/demos into $(DATA_DIR)/demos" + @for i in $(srcdir)/demos/*; \ + do \ + if [ -f $$i ] ; then \ +- $(INSTALL_SCRIPT) $$i $(SCRIPT_INSTALL_DIR)/demos; \ ++ $(INSTALL_SCRIPT) $$i $(DATA_DIR)/demos; \ + fi; \ + done; +- @echo "Installing images from $(srcdir)/demos/images into $(SCRIPT_INSTALL_DIR)/demos/images" ++ @echo "Installing images from $(srcdir)/demos/images into $(DATA_DIR)/demos/images" + for i in $(srcdir)/demos/images/*; \ + do \ + if [ -f $$i ] ; then \ +- $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/images; \ ++ $(INSTALL_DATA) $$i $(DATA_DIR)/demos/images; \ + fi; \ + done; +- @echo "Installing html man pages from $(srcdir)/demos/html into $(SCRIPT_INSTALL_DIR)/demos/html" ++ @echo "Installing html man pages from $(srcdir)/demos/html into $(DATA_DIR)/demos/html" + for i in $(srcdir)/demos/html/*; \ + do \ + if [ -f $$i ] ; then \ +- $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/demos/html; \ ++ $(INSTALL_DATA) $$i $(DATA_DIR)/demos/html; \ + fi; \ + done; + +@@ -169,7 +172,6 @@ + $$i > $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ + chmod 444 $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \ + done; +- $(INSTALL_DATA) $(srcdir)/license.terms $(SCRIPT_INSTALL_DIR) + + Makefile: $(srcdir)/Makefile.in + $(SHELL) config.status |