From 5866f48b31a4d608c76965d6c11a2a4e6f44ff87 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Wed, 14 May 1997 07:35:22 +0000 Subject: Some reorganization of this port: - build some modules as shared objects, reducing the interpreter's size and removing the dependency on tix - install shared objects in lib - remove version number from OS-dependent script dir A new port of PyTix will follow shortly. --- lang/python27/files/Setup | 5 +++-- lang/python27/files/patch-aa | 10 +++------- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'lang/python27/files') diff --git a/lang/python27/files/Setup b/lang/python27/files/Setup index 1eea44586c45..31336ca6fccf 100644 --- a/lang/python27/files/Setup +++ b/lang/python27/files/Setup @@ -71,7 +71,7 @@ SITEPATH=:$(DESTLIB)/NumPy TESTPATH=:$(DESTLIB)/test # Path for machine- or system-dependent modules (and shared libraries) -MACHDEPPATH=:$(DESTLIB)/$(MACHDEP) +MACHDEPPATH=:$(DESTLIB)/$(MACHDEP):$(MACHDESTLIB)/sharedmodules COREPYTHONPATH=.$(SITEPATH)$(DESTPATH)$(TESTPATH)$(MACHDEPPATH)$(STDWINPATH)$(TKPATH) PYTHONPATH=$(COREPYTHONPATH) @@ -128,6 +128,7 @@ select selectmodule.c # select(2); not on ancient System V socket socketmodule.c # socket(2); not on ancient System V errno errnomodule.c # posix (UNIX) errno values +*shared* # Some more UNIX dependent modules -- off by default, since these # are not supported by all UNIX systems: @@ -249,7 +250,7 @@ TKPATH=:$(DESTLIB)/tkinter #_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/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -ltix4175 -ltk41 -ltcl75 -lX11 +_tkinter _tkinter.c -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -ltk41 -ltcl75 -lX11 # Lance Ellinghaus's modules: diff --git a/lang/python27/files/patch-aa b/lang/python27/files/patch-aa index 68894855ce06..12e39c30e2e7 100644 --- a/lang/python27/files/patch-aa +++ b/lang/python27/files/patch-aa @@ -1,11 +1,7 @@ --- Makefile.in.orig Fri Oct 25 16:37:32 1996 -+++ Makefile.in Thu Feb 6 12:02:11 1997 -@@ -95,10 +95,10 @@ - - # Expanded directories - BINDIR= $(exec_prefix)/bin --LIBDIR= $(exec_prefix)/lib -+LIBDIR= $(exec_prefix)/share ++++ Makefile.in Mon May 12 21:04:38 1997 +@@ -98,7 +98,7 @@ + LIBDIR= $(exec_prefix)/lib MANDIR= $(prefix)/man INCLUDEDIR= $(prefix)/include -SCRIPTDIR= $(prefix)/lib -- cgit v1.2.3