aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python27/files/Setup
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/python27/files/Setup
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/python27/files/Setup')
-rw-r--r--lang/python27/files/Setup5
1 files changed, 3 insertions, 2 deletions
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: