summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2016-08-17 15:39:43 +0000
committerjaapb <jaapb@pkgsrc.org>2016-08-17 15:39:43 +0000
commitb66c66c40b41d4fa1f44928d482c29602961dadc (patch)
tree31b6da838940458541810b25f9967502cfc573e0 /databases
parente4282b645d93535f4f2da6a1f747484fc6d1a8c0 (diff)
downloadpkgsrc-b66c66c40b41d4fa1f44928d482c29602961dadc.tar.gz
Updated package to latest version, 4.0.5. Changes include:
Changed default configuration setting for loadable extensions on Mac OS X. Due to frequent installation issues the default setting is now to turn off loadable extensions on that platform. You will have to explicitly turn them on if you need them. Fixed a bug finalizing user-defined functions for a database. More build process improvements for Homebrew users. Improved build process for Homebrew users. Major API change that is compatible with major release series 2: It is now possible to return errors from user-defined SQL-functions by simply raising (arbitrary) exceptions. This somewhat tricky internal change eliminates the need for Data.ERROR and reestablishes compatibility with major release series 2. Sorry for the churn, but the more elegant solution was not quite obvious! Added user function error handling (major API change). Fixed a build problem due to Oasis/ocamlbuild inconsistency. Fixed a callback locking bug when encountering rows containing unexpected NULLs.
Diffstat (limited to 'databases')
-rw-r--r--databases/ocaml-sqlite3/Makefile17
-rw-r--r--databases/ocaml-sqlite3/PLIST25
-rw-r--r--databases/ocaml-sqlite3/distinfo10
3 files changed, 28 insertions, 24 deletions
diff --git a/databases/ocaml-sqlite3/Makefile b/databases/ocaml-sqlite3/Makefile
index 2fae1d7591e..5057714dd32 100644
--- a/databases/ocaml-sqlite3/Makefile
+++ b/databases/ocaml-sqlite3/Makefile
@@ -1,20 +1,21 @@
-# $NetBSD: Makefile,v 1.23 2016/06/25 14:16:17 jaapb Exp $
+# $NetBSD: Makefile,v 1.24 2016/08/17 15:39:43 jaapb Exp $
+VERSION= 4.0.5
+GITHUB_PROJECT= sqlite3-ocaml
+GITHUB_TAG= v${VERSION}
+DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-sqlite3-${VERSION}
-DISTNAME= v${VERSION}
-VERSION= 2.0.6
-PKGREVISION= 7
CATEGORIES= databases
-MASTER_SITES= http://github.com/mmottl/sqlite3-ocaml/archive/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mmottl/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://github.com/mmottl/sqlite3-ocaml/
COMMENT= Sqlite bindings for OCaml
LICENSE= mit
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}"
-WRKSRC= ${WRKDIR}/sqlite3-ocaml-${VERSION}
+#HAS_CONFIGURE= yes
+#CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}"
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${VERSION}
USE_TOOLS+= gmake pkg-config
OCAML_USE_OASIS= yes
diff --git a/databases/ocaml-sqlite3/PLIST b/databases/ocaml-sqlite3/PLIST
index d1ace54b8c5..71f5ae7a7ed 100644
--- a/databases/ocaml-sqlite3/PLIST
+++ b/databases/ocaml-sqlite3/PLIST
@@ -1,11 +1,14 @@
-@comment $NetBSD: PLIST,v 1.4 2016/06/25 14:16:17 jaapb Exp $
-lib/ocaml/site-lib/sqlite3/META
-lib/ocaml/site-lib/sqlite3/dllsqlite3_stubs.so
-lib/ocaml/site-lib/sqlite3/libsqlite3_stubs.a
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.a
-lib/ocaml/site-lib/sqlite3/sqlite3.cma
-lib/ocaml/site-lib/sqlite3/sqlite3.cmi
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.cmx
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.cmxa
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.cmxs
-lib/ocaml/site-lib/sqlite3/sqlite3.mli
+@comment $NetBSD: PLIST,v 1.5 2016/08/17 15:39:43 jaapb Exp $
+${OCAML_SITELIB}/sqlite3/META
+${OCAML_SITELIB}/sqlite3/dllsqlite3_stubs.so
+${OCAML_SITELIB}/sqlite3/libsqlite3_stubs.a
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.a
+${OCAML_SITELIB}/sqlite3/sqlite3.annot
+${OCAML_SITELIB}/sqlite3/sqlite3.cma
+${OCAML_SITELIB}/sqlite3/sqlite3.cmi
+${OCAML_SITELIB}/sqlite3/sqlite3.cmt
+${OCAML_SITELIB}/sqlite3/sqlite3.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.cmxs
+${OCAML_SITELIB}/sqlite3/sqlite3.mli
diff --git a/databases/ocaml-sqlite3/distinfo b/databases/ocaml-sqlite3/distinfo
index 0e807594f8e..b3eb89076e5 100644
--- a/databases/ocaml-sqlite3/distinfo
+++ b/databases/ocaml-sqlite3/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 01:56:16 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/08/17 15:39:43 jaapb Exp $
-SHA1 (v2.0.6.tar.gz) = 0835856fe5e255c4c5d90a78c84add065c9b1264
-RMD160 (v2.0.6.tar.gz) = 57ba126bbafb66a86b391ff82a7d92c50c66fc22
-SHA512 (v2.0.6.tar.gz) = 8d8d25c7fdce145a05d444327eceb696c4161c140228dd2be8a2436408e8a4f4a7395690f0ca2ff27269fb7b5890a645c52db9baafe44f01f840a439ff5f7e80
-Size (v2.0.6.tar.gz) = 64424 bytes
+SHA1 (sqlite3-ocaml-4.0.5.tar.gz) = bed35831d2898bb3df7cf138a1b2ccb9643a550b
+RMD160 (sqlite3-ocaml-4.0.5.tar.gz) = be0c021c7718db75fb784f955397a24785559188
+SHA512 (sqlite3-ocaml-4.0.5.tar.gz) = cdb01cddc702e30fdeaf5b7a45223d28abf33f3568850d5dad97926cf1358990edb363c38e199c1f30048e2d79211e6ad84046f8ed5d5ad4f0f6527b19b8e70d
+Size (sqlite3-ocaml-4.0.5.tar.gz) = 67839 bytes
SHA1 (patch-lib_sqlite3_stubs.c) = bd5970939a4ad748067337425992346de2b571a5