diff -urN ocaml.orig/Portfile ocaml/Portfile
--- ocaml.orig/Portfile	2006-12-06 22:03:06.000000000 -0500
+++ ocaml/Portfile	2006-12-06 22:03:20.000000000 -0500
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name 			ocaml
 version			3.09.3
+revision                1
 platforms		darwin
 maintainers		pguyot@kallisys.net
 categories		lang
@@ -20,6 +21,8 @@
 
 use_bzip2			yes
 
+patchfiles              patch-configure
+
 # Configure.
 configure.pre_args	-prefix ${prefix} 
 configure.args		-no-tk 
diff -urN ocaml.orig/files/patch-configure ocaml/files/patch-configure
--- ocaml.orig/files/patch-configure	1969-12-31 19:00:00.000000000 -0500
+++ ocaml/files/patch-configure	2006-12-06 22:02:59.000000000 -0500
@@ -0,0 +1,11 @@
+--- configure.orig	2006-12-06 21:53:26.000000000 -0500
++++ configure	2006-12-06 21:53:47.000000000 -0500
+@@ -536,7 +536,7 @@
+       byteccrpath="-Wl,-rpath,"
+       mksharedlibrpath="-rpath "
+       shared_libraries_supported=true;;
+-    powerpc-apple-darwin*)
++    powerpc-apple-darwin*|i686-apple-darwin*)
+       mksharedlib="cc -bundle -flat_namespace -undefined suppress -o"
+       bytecccompopts="$dl_defs $bytecccompopts"
+       #sharedcccompopts="-fnocommon"

