aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python31/files
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-07-03 22:41:09 +0800
committerperky <perky@FreeBSD.org>2003-07-03 22:41:09 +0800
commitebbea2c6e78f4080e6b7c3c02db4380473b4965f (patch)
treea72d209b548e78a4545b5960747b405806e31a81 /lang/python31/files
parent116b0223f3dd64a83f54079e27c1680c1af58a9b (diff)
downloadfreebsd-ports-gnome-ebbea2c6e78f4080e6b7c3c02db4380473b4965f.tar.gz
freebsd-ports-gnome-ebbea2c6e78f4080e6b7c3c02db4380473b4965f.tar.zst
freebsd-ports-gnome-ebbea2c6e78f4080e6b7c3c02db4380473b4965f.zip
Update new python-devel port to 2.3.b2.
This update introduces two new knobs to _disable_ somewhat experimental options: BUILD_STATIC=yes Unless this option is specified, the port will build python as shared binary. WITH_UCS2=yes Unless this option is specified, Py_UNICODE type will charge 4 bytes per character (as we do for wchar_t) Repo-copied by: joe (thanks!)
Diffstat (limited to 'lang/python31/files')
-rw-r--r--lang/python31/files/patch-configure24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/python31/files/patch-configure b/lang/python31/files/patch-configure
new file mode 100644
index 000000000000..a17f2aa4095b
--- /dev/null
+++ b/lang/python31/files/patch-configure
@@ -0,0 +1,24 @@
+--- configure.orig Sat Jun 28 16:46:31 2003
++++ configure Thu Jul 3 22:29:46 2003
+@@ -3278,6 +3278,12 @@
+ RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
+ INSTSONAME="$LDLIBRARY".$SOVERSION
+ ;;
++ FreeBSD*)
++ LDLIBRARY='libpython$(VERSION).so'
++ BLDLIBRARY='-L. -lpython$(VERSION)'
++ RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
++ INSTSONAME="$LDLIBRARY"
++ ;;
+ hp*|HP*)
+ LDLIBRARY='libpython$(VERSION).sl'
+ BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
+@@ -3907,7 +3913,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_save_cc="$CC"
+-CC="$CC -Kthread"
++CC="/nonexistent/ignore/$CC -Kthread"
+ if test "$cross_compiling" = yes; then
+ ac_cv_kthread=no
+ else