diff options
Diffstat (limited to 'sci-misc/brlcad/files/brlcad-tcltk-man_install.patch')
-rw-r--r-- | sci-misc/brlcad/files/brlcad-tcltk-man_install.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-misc/brlcad/files/brlcad-tcltk-man_install.patch b/sci-misc/brlcad/files/brlcad-tcltk-man_install.patch new file mode 100644 index 000000000..7a61d103c --- /dev/null +++ b/sci-misc/brlcad/files/brlcad-tcltk-man_install.patch @@ -0,0 +1,49 @@ +diff -ur brlcad-7.10.2.orig/src/other/tcl/unix/Makefile.in brlcad-7.10.2/src/other/tcl/unix/Makefile.in +--- brlcad-7.10.2.orig/src/other/tcl/unix/Makefile.in 2007-09-16 21:03:57.000000000 -0400 ++++ brlcad-7.10.2/src/other/tcl/unix/Makefile.in 2007-09-16 21:06:36.000000000 -0400 +@@ -839,17 +839,17 @@ + done; + @echo "Installing and cross-linking top-level (.1) docs"; + @for i in $(TOP_DIR)/doc/*.1; do \ +- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN1_INSTALL_DIR); \ ++ [ ! -e $(TOP_DIR)/doc/$$i ] || $(UNIX_DIR)/installManPage $(MAN_FLAGS) $(TOP_DIR)/doc/$$i $(MAN1_INSTALL_DIR); \ + done + + @echo "Installing and cross-linking C API (.3) docs"; + @for i in $(TOP_DIR)/doc/*.3; do \ +- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN3_INSTALL_DIR); \ ++ [ ! -e $(TOP_DIR)/doc/$$i ] || $(UNIX_DIR)/installManPage $(MAN_FLAGS) $(TOP_DIR)/doc/$$i $(MAN3_INSTALL_DIR); \ + done + + @echo "Installing and cross-linking command (.n) docs"; + @for i in $(TOP_DIR)/doc/*.n; do \ +- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MANN_INSTALL_DIR); \ ++ [ ! -e $(TOP_DIR)/doc/$$i ] || $(UNIX_DIR)/installManPage $(MAN_FLAGS) $(TOP_DIR)/doc/$$i $(MANN_INSTALL_DIR); \ + done + + # Optional target to install private headers +diff -ur brlcad-7.10.2.orig/src/other/tk/unix/Makefile.in brlcad-7.10.2/src/other/tk/unix/Makefile.in +--- brlcad-7.10.2.orig/src/other/tk/unix/Makefile.in 2007-09-16 21:03:59.000000000 -0400 ++++ brlcad-7.10.2/src/other/tk/unix/Makefile.in 2007-09-16 21:08:06.000000000 -0400 +@@ -824,18 +824,18 @@ + done; + @echo "Installing and cross-linking top-level (.1) docs"; + @for i in $(TOP_DIR)/doc/*.1; do \ +- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN1_INSTALL_DIR); \ ++ [ ! -e $(TOP_DIR)/doc/$$i ] || $(UNIX_DIR)/installManPage $(MAN_FLAGS) $(TOP_DIR)/doc/$$i $(MAN1_INSTALL_DIR); \ + done + + @echo "Installing and cross-linking C API (.3) docs"; + @for i in $(TOP_DIR)/doc/*.3; do \ +- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MAN3_INSTALL_DIR); \ ++ [ ! -e $(TOP_DIR)/doc/$$i ] || $(UNIX_DIR)/installManPage $(MAN_FLAGS) $(TOP_DIR)/doc/$$i $(MAN3_INSTALL_DIR); \ + done + + @echo "Installing and cross-linking command (.n) docs"; + @for i in $(TOP_DIR)/doc/*.n; do \ + if [ "ttk_dialog.n" = `basename $$i` ] ; then continue ; fi ; \ +- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i $(MANN_INSTALL_DIR); \ ++ [ ! -e $(TOP_DIR)/doc/$$i ] || $(UNIX_DIR)/installManPage $(MAN_FLAGS) $(TOP_DIR)/doc/$$i $(MANN_INSTALL_DIR); \ + done + + # Optional target to install private headers |