summaryrefslogtreecommitdiff
path: root/lang/tcl-itcl/patches/patch-af
blob: 638279167ce8d064b50d345a448573e9bcccd15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-af,v 1.1.1.1 2001/02/23 20:36:31 jtb Exp $

--- iwidgets3.0.0/Makefile.in.orig	Tue Aug 29 15:58:00 2000
+++ iwidgets3.0.0/Makefile.in	Fri Nov 10 00:01:46 2000
@@ -40,7 +40,7 @@
 INSTALL_ROOT =
 
 # Path name to use when installing library scripts:
-SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/lib/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)$(exec_prefix)/lib
@@ -163,8 +163,8 @@
 
 install-libraries:
 	@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)
-	@rm -f $(LIB_INSTALL_DIR)/iwidgets
-	$(LN_S) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)/iwidgets
+	@rm -f $(LIB_INSTALL_DIR)/tcl/iwidgets
+	$(LN_S) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)/tcl/iwidgets
 	@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/scripts
 	@echo "Installing files from $(GENERIC_DIR) into $(SCRIPT_INSTALL_DIR)"
 	@for i in $(GENERIC_DIR)/*.tcl $(GENERIC_DIR)/*.itk $(GENERIC_DIR)/*.itcl $(GENERIC_DIR)/tclIndex $(GENERIC_DIR)/*.gif ; \