$OpenBSD: patch-lib_Makefile,v 1.1.1.1 2004/06/12 22:03:12 avsm Exp $
--- lib/Makefile.orig	2004-04-27 10:17:34.000000000 +0100
+++ lib/Makefile	2004-06-12 18:44:23.000000000 +0100
@@ -1,7 +1,10 @@
 OCAMLMAKEFILE = ../OCamlMakefile
 
 SOURCES = postgresql_stubs.c postgresql.mli postgresql.ml
-CFLAGS  = -O2
+CFLAGS  = ${MY_CFLAGS}
+LIBDIRS = ${MY_LIBDIRS}
+INSTDIR = ${MY_INSTDIR}
+STATIC  = Yes
 CLIBS   = pq
 RESULT  = postgresql
 
