Index: Portfile
===================================================================
--- Portfile	(revision 26477)
+++ Portfile	(working copy)
@@ -26,9 +26,9 @@
 
 configure.args	--enable-threadsafe --disable-tcl
 
+configure.cflags-append		-DSQLITE_ENABLE_LOCKING_STYLE=1
+
 build.type		gnu
-build.env		CFLAGS="-I${prefix}/include/ -DSQLITE_ENABLE_LOCKING_STYLE=1" \
-				LDFLAGS="-L${prefix}/lib"
 
 test.run		yes
 test.target		test

