--- Portfile	2008-05-20 14:50:27.000000000 -0600
+++ Portfile.mine	2008-05-20 14:48:57.000000000 -0600
@@ -20,6 +20,7 @@
                  rmd160 dd602c5e01a004dbf6e6ee542c5f6bdb0bd1348f \
                  sha1 e2dd6ef9c56b18c7be7669aba374bcd24745ae95
 platforms        darwin
+patchfiles       patch-build.sh
 
 post-patch {
         reinplace "s|/usr/share/boost-build|${prefix}/share/boost-build|" \
@@ -28,8 +29,8 @@
 
 use_configure    no
 
-build.env        LOCATE_TARGET=bin
-build.cmd        ./build.sh
+build.env        LOCATE_TARGET=bin CFLAGS="${configure.cflags}"
+build.cmd        ./build.sh cc
 build.target
 
 destroot {

