Index: Portfile
===================================================================
--- Portfile	(revision 53993)
+++ Portfile	(working copy)
@@ -48,6 +48,12 @@
 
 use_autoconf	yes
 
+# The make file sets its own optimization flags as appropriate.
+configure.cflags-delete	-O2
+# It doesn't need anything from ${prefix}/lib and it finds old versions of its own
+# dynamic libraries there so don't let it look.
+configure.ldflags-delete -L${prefix}/lib
+
 destroot.destdir	prefix=${destroot}${prefix}
 
 platform darwin 8 {

