--- Portfile.orig	2009-02-05 22:34:03.000000000 -0500
+++ Portfile	2009-02-10 18:02:08.000000000 -0500
@@ -93,4 +93,8 @@
 	global tmake_conf
 	set tmake_conf	${worksrcpath}/tmake/lib/macosx-c++/tmake.conf
 	configure.args-append	--platform macosx-c++
+
+	if { ${os.major} < 9 } {
+		patchfiles-append patch-portable.cpp.diff
+	}
 }

