--- Portfile.orig	2008-06-18 21:26:35.000000000 +1000
+++ Portfile	2008-06-18 21:47:50.000000000 +1000
@@ -130,3 +130,8 @@
         file copy ${worksrcpath}/libs ${destroot}${prefix}/share/doc/${name}
     }
 }
+
+variant debug {
+    build.pre_args-append       BJAM_CONFIG="debug release"
+    destroot.pre_args-append    BJAM_CONFIG="debug release"
+}
