View | Details | Raw Unified | Return to bug 243774
Collapse All | Expand All

(-)lang/tcl87/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	tcl
4
PORTNAME=	tcl
5
DISTVERSION=	${TCL_VERSION}${TCL_RC}
5
DISTVERSION=	${TCL_VERSION}${TCL_RC}
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	lang
7
CATEGORIES=	lang
8
MASTER_SITES=	SF/tcl/Tcl/${TCL_VERSION} \
8
MASTER_SITES=	SF/tcl/Tcl/${TCL_VERSION} \
9
		TCLTK/tcl8_7
9
		TCLTK/tcl8_7
(-)lang/tcl87/files/patch-unix_Makefile.in (-6 / +47 lines)
Lines 1-6 Link Here
1
--- unix/Makefile.in.orig	2019-11-27 12:28:19 UTC
1
--- unix/Makefile.in.orig	2019-11-27 12:28:19 UTC
2
+++ unix/Makefile.in
2
+++ unix/Makefile.in
3
@@ -81,7 +81,7 @@ HTML_DIR		= @HTML_DIR@
3
@@ -55,6 +55,8 @@ SCRIPT_INSTALL_DIR	= $(INSTALL_ROOT)$(TCL_LIBRARY)
4
 
5
 # Directory in which to install the include file tcl.h:
6
 INCLUDE_INSTALL_DIR	= $(INSTALL_ROOT)$(includedir)
7
+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/generic
8
+UNIX_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/unix
9
 
10
 # Path to the private tcl header dir:
11
 PRIVATE_INCLUDE_DIR	= @PRIVATE_INCLUDE_DIR@
12
@@ -81,7 +83,7 @@ HTML_DIR		= @HTML_DIR@
4
 HTML_INSTALL_DIR	= $(INSTALL_ROOT)$(HTML_DIR)
13
 HTML_INSTALL_DIR	= $(INSTALL_ROOT)$(HTML_DIR)
5
 
14
 
6
 # Directory in which to install the configuration file tclConfig.sh
15
 # Directory in which to install the configuration file tclConfig.sh
Lines 9-15 Link Here
9
 
18
 
10
 # Directory in which to install bundled packages:
19
 # Directory in which to install bundled packages:
11
 PACKAGE_DIR		= @PACKAGE_DIR@
20
 PACKAGE_DIR		= @PACKAGE_DIR@
12
@@ -988,7 +988,7 @@ install-binaries: binaries
21
@@ -988,7 +990,7 @@ install-binaries: binaries
13
 	@EXTRA_INSTALL_BINARIES@
22
 	@EXTRA_INSTALL_BINARIES@
14
 	@echo "Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/"
23
 	@echo "Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/"
15
 	@$(INSTALL_DATA_DIR) $(LIB_INSTALL_DIR)/pkgconfig
24
 	@$(INSTALL_DATA_DIR) $(LIB_INSTALL_DIR)/pkgconfig
Lines 18-24 Link Here
18
 
27
 
19
 install-libraries-zipfs-shared: libraries
28
 install-libraries-zipfs-shared: libraries
20
 	@for i in "$(SCRIPT_INSTALL_DIR)"; do \
29
 	@for i in "$(SCRIPT_INSTALL_DIR)"; do \
21
@@ -1014,7 +1014,7 @@ install-libraries: libraries
30
@@ -1014,7 +1016,7 @@ install-libraries: libraries
22
 		$(INSTALL_DATA_DIR) "$$i"; \
31
 		$(INSTALL_DATA_DIR) "$$i"; \
23
 	    fi; \
32
 	    fi; \
24
 	done
33
 	done
Lines 27-33 Link Here
27
 	    if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
36
 	    if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
28
 		echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
37
 		echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
29
 		$(INSTALL_DATA_DIR) "$(SCRIPT_INSTALL_DIR)"/$$i; \
38
 		$(INSTALL_DATA_DIR) "$(SCRIPT_INSTALL_DIR)"/$$i; \
30
@@ -1026,28 +1026,31 @@ install-libraries: libraries
39
@@ -1026,28 +1028,31 @@ install-libraries: libraries
31
 	    $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \
40
 	    $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"; \
32
 	done
41
 	done
33
 	@echo "Installing package cookiejar 0.1 files to $(SCRIPT_INSTALL_DIR)/cookiejar0.1/"
42
 	@echo "Installing package cookiejar 0.1 files to $(SCRIPT_INSTALL_DIR)/cookiejar0.1/"
Lines 65-77 Link Here
65
 	@echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/"
74
 	@echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/"
66
 	@for i in $(TOP_DIR)/library/encoding/*.enc; do \
75
 	@for i in $(TOP_DIR)/library/encoding/*.enc; do \
67
 		$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \
76
 		$(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/encoding; \
68
@@ -1057,6 +1060,9 @@ install-libraries: libraries
77
@@ -1057,7 +1062,10 @@ install-libraries: libraries
69
 	    echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \
78
 	    echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \
70
 	        "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
79
 	        "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \
71
 	fi
80
 	fi
72
+	echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \
81
+	echo "::tcl::tm::path add {$(TCL_LIBRARY)}" >> \
73
+	    "$(SCRIPT_INSTALL_DIR)"/tm.tcl;
82
+	    "$(SCRIPT_INSTALL_DIR)"/tm.tcl;
83
 
74
+
84
+
75
 
76
 install-tzdata:
85
 install-tzdata:
77
 	@for i in tzdata; do \
86
 	@for i in tzdata; do \
87
 	    if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
88
@@ -1132,19 +1140,27 @@ TCL_PRIVATE_HEADERS = $(GENERIC_DIR)/tclInt.h $(GENERI
89
 	$(GENERIC_DIR)/tclIntPlatDecls.h $(GENERIC_DIR)/tclPort.h \
90
 	$(GENERIC_DIR)/tclOOInt.h $(GENERIC_DIR)/tclOOIntDecls.h \
91
 	$(UNIX_DIR)/tclUnixPort.h
92
+
93
+TCL_INSTALL_HEADERS =	tcl.h tclDecls.h tclInt.h tclOO.h tclOODecls.h \
94
+	tclPlatDecls.h tclTomMath.h tclTomMathDecls.h
95
+
96
 # Any other headers you find in the Tcl sources are purely part of Tcl's
97
 # implementation, and aren't to be installed.
98
 
99
 install-headers:
100
-	@for i in "$(INCLUDE_INSTALL_DIR)"; do \
101
+	@for i in "$(INCLUDE_INSTALL_DIR)" "$(GENERIC_INCLUDE_INSTALL_DIR)" "$(UNIX_INCLUDE_INSTALL_DIR)"; \
102
+	do \
103
 	    if [ ! -d "$$i" ] ; then \
104
 		echo "Making directory $$i"; \
105
 		$(INSTALL_DATA_DIR) "$$i"; \
106
 	    fi; \
107
 	done
108
 	@echo "Installing header files to $(INCLUDE_INSTALL_DIR)/";
109
-	@for i in $(TCL_PUBLIC_HEADERS); do \
110
-	    $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \
111
+	@${BSD_INSTALL_DATA} $(GENERIC_DIR)/*.h "$(GENERIC_INCLUDE_INSTALL_DIR)"/
112
+	@${BSD_INSTALL_DATA} $(UNIX_DIR)/*.h "$(UNIX_INCLUDE_INSTALL_DIR)"/
113
+	@for i in $(TCL_INSTALL_HEADERS); do \
114
+	    j=`basename $$i` ; \
115
+	    ln -sf generic/$$j "$(INCLUDE_INSTALL_DIR)"/$$j ; \
116
 	done
117
 
118
 # Optional target to install private headers
(-)lang/tcl87/pkg-plist (+29 lines)
Lines 4-9 Link Here
4
lib/libtcl%%PKGNAMESUFFIX%%.so
4
lib/libtcl%%PKGNAMESUFFIX%%.so
5
lib/libtcl%%PKGNAMESUFFIX%%.so.1
5
lib/libtcl%%PKGNAMESUFFIX%%.so.1
6
include/tcl%%TCL_VER%%/doc/man.macros
6
include/tcl%%TCL_VER%%/doc/man.macros
7
include/tcl%%TCL_VER%%/generic/regcustom.h
8
include/tcl%%TCL_VER%%/generic/regerrs.h
9
include/tcl%%TCL_VER%%/generic/regex.h
10
include/tcl%%TCL_VER%%/generic/regguts.h
11
include/tcl%%TCL_VER%%/generic/tcl.h
12
include/tcl%%TCL_VER%%/generic/tclCompile.h
13
include/tcl%%TCL_VER%%/generic/tclDecls.h
14
include/tcl%%TCL_VER%%/generic/tclFileSystem.h
15
include/tcl%%TCL_VER%%/generic/tclInt.h
16
include/tcl%%TCL_VER%%/generic/tclIntDecls.h
17
include/tcl%%TCL_VER%%/generic/tclIntPlatDecls.h
18
include/tcl%%TCL_VER%%/generic/tclIO.h
19
include/tcl%%TCL_VER%%/generic/tclOO.h
20
include/tcl%%TCL_VER%%/generic/tclOODecls.h
21
include/tcl%%TCL_VER%%/generic/tclOOInt.h
22
include/tcl%%TCL_VER%%/generic/tclOOIntDecls.h
23
include/tcl%%TCL_VER%%/generic/tclOOScript.h
24
include/tcl%%TCL_VER%%/generic/tclParse.h
25
include/tcl%%TCL_VER%%/generic/tclPlatDecls.h
26
include/tcl%%TCL_VER%%/generic/tclPort.h
27
include/tcl%%TCL_VER%%/generic/tclRegexp.h
28
include/tcl%%TCL_VER%%/generic/tclStringRep.h
29
include/tcl%%TCL_VER%%/generic/tclStringTrim.h
30
include/tcl%%TCL_VER%%/generic/tclTomMath.h
31
include/tcl%%TCL_VER%%/generic/tclTomMathDecls.h
32
include/tcl%%TCL_VER%%/generic/tclTomMathInt.h
33
include/tcl%%TCL_VER%%/generic/tommath.h
7
include/tcl%%TCL_VER%%/tcl.h
34
include/tcl%%TCL_VER%%/tcl.h
8
include/tcl%%TCL_VER%%/tclDecls.h
35
include/tcl%%TCL_VER%%/tclDecls.h
9
include/tcl%%TCL_VER%%/tclInt.h
36
include/tcl%%TCL_VER%%/tclInt.h
Lines 18-23 Link Here
18
include/tcl%%TCL_VER%%/tclTomMath.h
45
include/tcl%%TCL_VER%%/tclTomMath.h
19
include/tcl%%TCL_VER%%/tclTomMathDecls.h
46
include/tcl%%TCL_VER%%/tclTomMathDecls.h
20
include/tcl%%TCL_VER%%/tclUnixPort.h
47
include/tcl%%TCL_VER%%/tclUnixPort.h
48
include/tcl%%TCL_VER%%/unix/tclDTrace.h
49
include/tcl%%TCL_VER%%/unix/tclUnixPort.h
21
%%DTRACE%%lib/tcl%%TCL_VER%%/tclDTrace.d
50
%%DTRACE%%lib/tcl%%TCL_VER%%/tclDTrace.d
22
lib/tcl%%TCL_VER%%/auto.tcl
51
lib/tcl%%TCL_VER%%/auto.tcl
23
lib/tcl%%TCL_VER%%/clock.tcl
52
lib/tcl%%TCL_VER%%/clock.tcl

Return to bug 243774