freebsd-ports/lang/python32/files/patch-configure
Hye-Shik Chang c84dbd4727 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!)
2003-07-03 14:41:09 +00:00

24 lines
708 B
Text

--- 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