aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python21/files
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-05-14 15:35:22 +0800
committertg <tg@FreeBSD.org>1997-05-14 15:35:22 +0800
commit7c1990229274b0681e3d6acd2ece21b35675c7b2 (patch)
treee3129a262bf278ebb757cc051c8d1d084659f0e7 /lang/python21/files
parent5efb26dc9983031d8ff6f6412feb39224b5eb235 (diff)
downloadfreebsd-ports-gnome-7c1990229274b0681e3d6acd2ece21b35675c7b2.tar.gz
freebsd-ports-gnome-7c1990229274b0681e3d6acd2ece21b35675c7b2.tar.zst
freebsd-ports-gnome-7c1990229274b0681e3d6acd2ece21b35675c7b2.zip
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.
Diffstat (limited to 'lang/python21/files')
-rw-r--r--lang/python21/files/Setup5
-rw-r--r--lang/python21/files/patch-aa10
2 files changed, 6 insertions, 9 deletions
diff --git a/lang/python21/files/Setup b/lang/python21/files/Setup
index 1eea44586c45..31336ca6fccf 100644
--- a/lang/python21/files/Setup
+++ b/lang/python21/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/python21/files/patch-aa b/lang/python21/files/patch-aa
index 68894855ce06..12e39c30e2e7 100644
--- a/lang/python21/files/patch-aa
+++ b/lang/python21/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