$OpenBSD: patch-lib_Makefile,v 1.2 2005/09/22 13:10:47 avsm Exp $
--- lib/Makefile.orig	Tue May 31 17:00:47 2005
+++ lib/Makefile	Thu Sep 22 13:46:59 2005
@@ -1,7 +1,10 @@
 OCAMLMAKEFILE = ../OCamlMakefile
 
 SOURCES = postgresql.mli postgresql.ml postgresql_stubs.c
-CFLAGS  = -O2
+CFLAGS  = ${MY_CFLAGS}
+LIBDIRS = ${MY_LIBDIRS}
+INSTDIR = ${MY_INSTDIR}
+STATIC  = Yes
 CLIBS   = pq
 RESULT  = postgresql
 
