From c84dbd47277fafe4ecb3ef0ca7560f4aaea07ac1 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Thu, 3 Jul 2003 14:41:09 +0000 Subject: 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!) --- lang/python27/files/patch-configure | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lang/python27/files/patch-configure (limited to 'lang/python27/files/patch-configure') diff --git a/lang/python27/files/patch-configure b/lang/python27/files/patch-configure new file mode 100644 index 000000000000..a17f2aa4095b --- /dev/null +++ b/lang/python27/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 -- cgit v1.2.3