--- ../python/Python-2.2.2.patch.org Wed Jun 18 17:05:52 2003 +++ ../python/Python-2.2.2.patch Tue Jul 15 07:52:32 2003 @@ -1,21 +1,21 @@ *** misc/Python-2.2.2/configure Thu Oct 10 17:26:41 2002 --- misc/build/Python-2.2.2/configure Tue Jun 10 11:51:32 2003 -*************** -*** 1697,1702 **** ---- 1697,1710 ---- - case $ac_sys_system in - Darwin*) - OPT="$OPT -no-cpp-precomp";; -+ Linux*) -+ case "`uname -m`" in -+ ppc*) -+ OPT="$OPT -fPIC";; -+ *) -+ OPT="$OPT";; -+ esac -+ ;; - esac - fi +@@ -1697,6 +1697,16 @@ + case $ac_sys_system in + Darwin*) + OPT="$OPT -no-cpp-precomp";; ++ FreeBSD*) ++ OPT="$OPT $PTHREAD_CFLAGS";; ++ Linux*) ++ case "`uname -m`" in ++ ppc*) ++ OPT="$OPT -fPIC";; ++ *) ++ OPT="$OPT";; ++ esac ++ ;; + esac + fi *** misc/Python-2.2.2/Modules/_hotshot.c Mon Sep 30 18:16:13 2002 --- misc/build/Python-2.2.2/Modules/_hotshot.c Tue Jun 10 11:56:05 2003