pkgsrc/lang/tcl-itcl-current/patches/patch-ae
joerg dff0b6478d Don't mess with panedwindow.n from tk during installation.
Fixes correct objection from CHECK_FILES.
2006-05-15 23:26:17 +00:00

22 lines
960 B
Text

$NetBSD: patch-ae,v 1.2 2006/05/15 23:26:18 joerg Exp $
--- iwidgets/Makefile.in.orig Wed Sep 25 23:12:59 2002
+++ iwidgets/Makefile.in
@@ -40,7 +40,7 @@ libdir = @libdir@
INSTALL_ROOT =
# Path name to use when installing library scripts:
-SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(libdir)/iwidgets$(IWIDGETS_VERSION)
+SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/lib/tcl/iwidgets$(VERSION)
# Directory in which to install the archive libtcl.a:
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(libdir)
@@ -164,7 +164,7 @@ install-doc:
@echo "Installing man pages from $(TOP_DIR)/doc into $(MAN_INSTALL_DIR)"
@cd $(TOP_DIR)/doc; for i in *.n; \
do \
- rm -f $(MAN_INSTALL_DIR)/`basename $$i`; \
+ [ $$i != panedwindow.n ] && rm -f $(MAN_INSTALL_DIR)/`basename $$i`; \
rm -f $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
$$i > $(MAN_INSTALL_DIR)/`basename iwidgets_$$i`; \