openbsd-ports/databases/ocaml-postgresql/patches/patch-lib_Makefile
avsm 78f00ac44c initial import of ocaml-postgresql-1.3.3
--
This OCaml library provides an interface to PostgreSQL (tested with
versions 7.0.2, 7.1.3 and 7.4.1), an efficient and reliable, open
source, relational database.

Almost all functionality available through the C-API (libpq) is
replicated in a type-safe way. This library uses objects for
representing database connections and results of queries.
2004-06-12 22:03:12 +00:00

16 lines
435 B
Plaintext

$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