summaryrefslogtreecommitdiff
path: root/lang/python+ipv6/files/Setup
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/python+ipv6/files/Setup4
-rw-r--r--lang/python+ipv6/files/Setup.tk19
2 files changed, 21 insertions, 2 deletions
diff --git a/lang/python+ipv6/files/Setup b/lang/python+ipv6/files/Setup
index cab0cf57b1a5..6e6861c369e4 100644
--- a/lang/python+ipv6/files/Setup
+++ b/lang/python+ipv6/files/Setup
@@ -243,14 +243,14 @@ md5 md5module.c md5c.c
# Change the -l arguments to use Tcl 7.4 and Tk 4.0!
# *** ALWAYS enable this line:
-TKPATH=:$(DESTLIB)/tkinter
+#TKPATH=:$(DESTLIB)/tkinter
# *** Enable *one* of the following lines:
# For Solaris:
#_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
# For generic system (may have to add -I/-L options to find X11):
#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
-_tkinter _tkinter.c -I${PREFIX}/include/tk8.0 -I${PREFIX}/include/tcl8.0 -I${X11BASE}/include -L${PREFIX}/lib -L${X11BASE}/lib -ltk80 -ltcl80 -lX11
+#_tkinter _tkinter.c -I${PREFIX}/include/tk8.0 -I${PREFIX}/include/tcl8.0 -I${X11BASE}/include -L${PREFIX}/lib -L${X11BASE}/lib -ltk80 -ltcl80 -lX11
# Lance Ellinghaus's modules:
diff --git a/lang/python+ipv6/files/Setup.tk b/lang/python+ipv6/files/Setup.tk
new file mode 100644
index 000000000000..81869a2405de
--- /dev/null
+++ b/lang/python+ipv6/files/Setup.tk
@@ -0,0 +1,19 @@
+*shared*
+
+# The _tkinter module.
+#
+# See the section "The Tk interface" in ../README for more info.
+#
+# Enable the TKPATH line and choose the most applicable _tkinter line.
+# You may have to change /usr/local to wherever Tcl/Tk are installed.
+# Change the -l arguments to use Tcl 7.4 and Tk 4.0!
+
+# *** ALWAYS enable this line:
+TKPATH=:$(DESTLIB)/tkinter
+
+# *** Enable *one* of the following lines:
+# For Solaris:
+#_tkinter _tkinter.c -I/usr/openwin/include -I/usr/local/include -L/usr/openwin/lib -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
+# For generic system (may have to add -I/-L options to find X11):
+#_tkinter _tkinter.c -I/usr/local/include -L/usr/local/lib -ltk4.1 -ltcl7.5 -lX11
+_tkinter _tkinter.c -I${PREFIX}/include/tk8.0 -I${PREFIX}/include/tcl8.0 -I${X11BASE}/include -L${PREFIX}/lib -L${X11BASE}/lib -ltk80 -ltcl80 -lX11