pkgsrc/databases/ocaml-mysql/patches/patch-Makefile.in
jaapb 4a5fd01cc0 Updated version to 1.1.1. Changes:
* Sat May 19 2012 (1.1.1)
  * Support build with ocaml/msvc and ocaml/mingw (Dmitry Grebeniuk)
  * Update build tools (Dmitry Grebeniuk)
  * OCaml 3.12 compatibility
  * Mysql.Prepared: documentation comments
  * Mysql.Prepared.result_metadata (Hezekiah M. Carty)
  * Mysql.quick_connect: optional unix socket path
  * Mysql.quick_connect: optional connection options

* Sat Dec 26 2009 (1.1.0)
  * Project moved to http://ocaml-mysql.forge.ocamlcore.org
  * Fix crash bugs (mainly in GC & threads interaction)
  * Trigger GC less often (Mysql.connect and Mysql.execute)
  * Mysql.real_escape (Debian patch)
  * Mysql.set_charset
  * Preliminary support for prepared statements (Mysql.Prepared)

Changes to the package: changed maintainer from pkgsrc-users to myself;
incorporated upstream move to other address; added license; added native code
build.
2012-09-16 20:12:08 +00:00

13 lines
479 B
Text

$NetBSD: patch-Makefile.in,v 1.1 2012/09/16 20:12:09 jaapb Exp $
Update installation procedure to support DESTDIR
--- Makefile.in.orig 2012-05-19 18:13:37.000000000 +0000
+++ Makefile.in
@@ -5,6 +5,7 @@ RESULT=mysql
VERSION=@VERSION@
LIBINSTALL_FILES=$(wildcard *.mli *.cmi *.cma *.cmx *.cmxa *.a *.so)
+OCAMLFIND_INSTFLAGS=-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib -ldconf /var/null
CFLAGS=@CFLAGS@ -Wall -Wextra
CLIBS=$(foreach lib, @LIBS@, $(subst -l,,${lib}))