--- Portfile	2009-01-04 06:17:24.000000000 -0600
+++ Portfile	2009-01-12 18:50:49.000000000 -0600
@@ -180,6 +180,14 @@
         --with-gmp=${prefix}
 }
 
+variant db4 description {Add db4 handle support} {
+# This compiles PHP5 with db46 enabled
+    depends_lib-append \
+        port:db46
+    configure.args-append \
+        --with-db4=${prefix}
+}
+
 variant dbase description {Add dBase file format support} {
     configure.args-append \
         --enable-dbase

