diff -urN ooo_SRC680_m161_src.orig/portaudio/makefile.mk ooo_SRC680_m161_src/portaudio/makefile.mk
--- ooo_SRC680_m161_src.orig/portaudio/makefile.mk	2006-03-24 23:16:54.000000000 +0100
+++ ooo_SRC680_m161_src/portaudio/makefile.mk	2006-03-24 23:14:11.000000000 +0100
@@ -52,7 +52,7 @@
 
 CONFIGURE_DIR=
 
-CONFIGURE_ACTION=./configure
+CONFIGURE_ACTION=sh -c 'CFLAGS="$(UNIVERSAL_CFLAGS)" LDFLAGS="$(UNIVERSAL_LDFLAGS)" .$/configure'
 CONFIGURE_FLAGS=
 BUILD_DIR=$(CONFIGURE_DIR)
 BUILD_ACTION=$(GNUMAKE)
diff -urN ooo_SRC680_m161_src.orig/portaudio/portaudio_v18_1.patch ooo_SRC680_m161_src/portaudio/portaudio_v18_1.patch
--- ooo_SRC680_m161_src.orig/portaudio/portaudio_v18_1.patch	2006-03-24 23:16:54.000000000 +0100
+++ ooo_SRC680_m161_src/portaudio/portaudio_v18_1.patch	2006-03-24 23:14:11.000000000 +0100
@@ -1,5 +1,43 @@
-*** misc/portaudio_v18_1/configure	2003-02-12 05:24:56.000000000 +0100
---- misc/build/portaudio_v18_1/configure	2006-01-31 20:10:00.317442000 +0100
+*** misc/portaudio_v18_1/Makefile.in	Wed Feb 12 05:24:56 2003
+--- misc/build/portaudio_v18_1/Makefile.in	Fri Mar 24 23:10:39 2006
+***************
+*** 52,58 ****
+  
+  OBJS = $(COMMON_OBJS) $(OTHER_OBJS)
+  
+! all: lib/$(PALIB) lib/$(PADLLV) tests
+  
+  tests: bin/ $(TESTS)
+  
+--- 52,58 ----
+  
+  OBJS = $(COMMON_OBJS) $(OTHER_OBJS)
+  
+! all: lib/$(PADLLV)
+  
+  tests: bin/ $(TESTS)
+  
+*** misc/portaudio_v18_1/Makefile.linux	Tue Jun 25 23:31:06 2002
+--- misc/build/portaudio_v18_1/Makefile.linux	Fri Mar 24 23:10:39 2006
+***************
+*** 17,23 ****
+  LIBS =  -lm -lpthread
+  
+  CDEFINES = -I../pa_common
+! CFLAGS = -g
+  LIBINST = /usr/local/lib
+  
+  TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
+--- 17,23 ----
+  LIBS =  -lm -lpthread
+  
+  CDEFINES = -I../pa_common
+! CFLAGS = -O2 -fPIC $(ARCH_FLAGS)
+  LIBINST = /usr/local/lib
+  
+  TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
+*** misc/portaudio_v18_1/configure	Wed Feb 12 05:24:56 2003
+--- misc/build/portaudio_v18_1/configure	Fri Mar 24 23:13:00 2006
 ***************
 *** 1883,1892 ****
   case "${host_os}" in
@@ -19,8 +57,8 @@
 ! 	OTHER_OBJS="pa_mac_core/pa_mac_core.o pablio/pablio.o pablio/ringbuffer.o";
 ! 	LIBS="-framework CoreAudio -framework AudioToolbox -lm";
   	PADLL="libportaudio.dylib";
-! 	SHARED_FLAGS="-framework CoreAudio -framework AudioToolbox -dynamiclib -single_module -install_name '@executable_path/libportaudio.dylib.0'";
-! 	CFLAGS="-malign-natural -O2 -Ipa_common -Ipablio ${ARCH_FLAGS}"
+! 	SHARED_FLAGS="${LDFLAGS} -framework CoreAudio -framework AudioToolbox -dynamiclib -single_module -install_name '@executable_path/libportaudio.dylib.0'";
+! 	CFLAGS="-malign-natural -O2 -Ipa_common -Ipablio ${ARCH_FLAGS} ${CFLAGS}"
 ! 	;;
 ! 
 !   linux* )
@@ -52,46 +90,20 @@
   	;;
   
     mingw* )
-*** misc/portaudio_v18_1/Makefile.in	2003-02-12 05:24:56.000000000 +0100
---- misc/build/portaudio_v18_1/Makefile.in	2006-02-06 16:24:03.977957000 +0100
-***************
-*** 52,58 ****
-  
-  OBJS = $(COMMON_OBJS) $(OTHER_OBJS)
-  
-! all: lib/$(PALIB) lib/$(PADLLV) tests
-  
-  tests: bin/ $(TESTS)
-  
---- 52,58 ----
-  
-  OBJS = $(COMMON_OBJS) $(OTHER_OBJS)
-  
-! all: lib/$(PADLLV)
-  
-  tests: bin/ $(TESTS)
-  
-*** misc/portaudio_v18_1/Makefile.linux	2002-06-25 23:31:06.000000000 +0200
---- misc/build/portaudio_v18_1/Makefile.linux	2006-01-31 20:10:00.349348000 +0100
+*** misc/portaudio_v18_1/pa_tests/patest_buffer.c	Tue Feb 11 19:41:32 2003
+--- misc/build/portaudio_v18_1/pa_tests/patest_buffer.c	Fri Mar 24 23:10:39 2006
 ***************
-*** 17,23 ****
-  LIBS =  -lm -lpthread
-  
-  CDEFINES = -I../pa_common
-! CFLAGS = -g
-  LIBINST = /usr/local/lib
+*** 125,130 ****
+--- 125,131 ----
+          if( err < 0 ) return 0;
   
-  TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
---- 17,23 ----
-  LIBS =  -lm -lpthread
+      }
++     return 0;
+  }
   
-  CDEFINES = -I../pa_common
-! CFLAGS = -O2 -fPIC $(ARCH_FLAGS)
-  LIBINST = /usr/local/lib
   
-  TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
-*** misc/portaudio_v18_1/pa_unix_oss/pa_unix_oss.c	2003-06-30 17:05:50.000000000 +0200
---- misc/build/portaudio_v18_1/pa_unix_oss/pa_unix_oss.c	2006-01-31 20:10:00.363708000 +0100
+*** misc/portaudio_v18_1/pa_unix_oss/pa_unix_oss.c	Mon Jun 30 17:05:50 2003
+--- misc/build/portaudio_v18_1/pa_unix_oss/pa_unix_oss.c	Fri Mar 24 23:10:39 2006
 ***************
 *** 43,48 ****
 --- 43,50 ----
@@ -103,16 +115,3 @@
   #else
   #include <machine/soundcard.h> /* JH20010905 */
   #endif
-
-*** misc/portaudio_v18_1/pa_tests/patest_buffer.c.old	2003-02-11 19:41:32.000000000 +0100
---- misc/build/portaudio_v18_1/pa_tests/patest_buffer.c	2005-08-15 11:46:53.000000000 +0200
-***************
-*** 125,130 ****
---- 125,131 ----
-          if( err < 0 ) return 0;
-  
-      }
-+     return 0;
-  }
-  
-  
