diff options
author | hans <hans@pkgsrc.org> | 2011-04-20 18:31:35 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-04-20 18:31:35 +0000 |
commit | ce25821259facf8aa9687e20431859201d7feaa0 (patch) | |
tree | 3f668b66aee0c2f8a99e07bd4f7cc6509b6c01e7 /databases/clisp-bdb | |
parent | 558c24b8a8b1500e789696b5469f191c7a337920 (diff) | |
download | pkgsrc-ce25821259facf8aa9687e20431859201d7feaa0.tar.gz |
Add package for berkeley-db module of lang/clisp. Remove conflicting bdb
option from lang/clisp.
Diffstat (limited to 'databases/clisp-bdb')
-rw-r--r-- | databases/clisp-bdb/DESCR | 1 | ||||
-rw-r--r-- | databases/clisp-bdb/Makefile | 20 | ||||
-rw-r--r-- | databases/clisp-bdb/PLIST | 10 | ||||
-rw-r--r-- | databases/clisp-bdb/distinfo | 7 | ||||
-rw-r--r-- | databases/clisp-bdb/patches/patch-aa | 26 | ||||
-rw-r--r-- | databases/clisp-bdb/patches/patch-ab | 13 |
6 files changed, 77 insertions, 0 deletions
diff --git a/databases/clisp-bdb/DESCR b/databases/clisp-bdb/DESCR new file mode 100644 index 00000000000..c8a530e0cdc --- /dev/null +++ b/databases/clisp-bdb/DESCR @@ -0,0 +1 @@ +CLISP Berkeley DB module diff --git a/databases/clisp-bdb/Makefile b/databases/clisp-bdb/Makefile new file mode 100644 index 00000000000..9b149d7e93c --- /dev/null +++ b/databases/clisp-bdb/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2011/04/20 18:31:36 hans Exp $ +# + +CLISP_MODULE= berkeley-db + +PKGNAME= clisp-bdb-$(CLISP_VERSION) +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/} + +MAINTAINER= hans@netbsd.org +HOMEPAGE= http://clisp.cons.org/ +COMMENT= CLISP Berkeley DB module + +MAKE_JOBS_SAFE= no + +.include "../../lang/clisp/module.mk" + +BUILDLINK_TRANSFORM+= l:db:db4 +.include "../../databases/db4/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/clisp-bdb/PLIST b/databases/clisp-bdb/PLIST new file mode 100644 index 00000000000..38f3e07bbdc --- /dev/null +++ b/databases/clisp-bdb/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2011/04/20 18:31:36 hans Exp $ +lib/clisp/dynmod/bdb.lisp +lib/clisp/dynmod/lib-bdb.so +lib/clisp/berkeley-db/Makefile +lib/clisp/berkeley-db/bdb.o +lib/clisp/berkeley-db/dbi.fas +lib/clisp/berkeley-db/dbi.lisp +lib/clisp/berkeley-db/link.sh +lib/clisp/berkeley-db/preload.lisp + diff --git a/databases/clisp-bdb/distinfo b/databases/clisp-bdb/distinfo new file mode 100644 index 00000000000..7c4760daa61 --- /dev/null +++ b/databases/clisp-bdb/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2011/04/20 18:31:36 hans Exp $ + +SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323 +RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76 +Size (clisp-2.49.tar.gz) = 9823111 bytes +SHA1 (patch-aa) = 659055c81e01a3e1bffe6f4609712624d6d1dcba +SHA1 (patch-ab) = bd098a22833ddcfd24f9b3055bab6239ae412805 diff --git a/databases/clisp-bdb/patches/patch-aa b/databases/clisp-bdb/patches/patch-aa new file mode 100644 index 00000000000..6136a1c47de --- /dev/null +++ b/databases/clisp-bdb/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1 2011/04/20 18:31:36 hans Exp $ + +Override ac_install_sh. + +--- modules/berkeley-db/configure.orig 2010-07-09 13:00:01.000000000 +0400 ++++ modules/berkeley-db/configure 2010-07-09 13:00:20.000000000 +0400 +@@ -2285,19 +2285,6 @@ + required=true + ${required} && test $cl_cv_have_clisp = no && as_fn_error "CLISP not found" "$LINENO" 5 + +-ac_aux_dir= +-for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do +- for ac_t in install-sh install.sh shtool; do +- if test -f "$ac_dir/$ac_t"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/$ac_t -c" +- break 2 +- fi +- done +-done +-if test -z "$ac_aux_dir"; then +- as_fn_error "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5 +-fi + + # These three variables are undocumented and unsupported, + # and are intended to be withdrawn in a future Autoconf release. diff --git a/databases/clisp-bdb/patches/patch-ab b/databases/clisp-bdb/patches/patch-ab new file mode 100644 index 00000000000..c4fece787f5 --- /dev/null +++ b/databases/clisp-bdb/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2011/04/20 18:31:36 hans Exp $ + +--- modules/berkeley-db/Makefile.in.orig 2010-03-24 20:44:56.000000000 +0100 ++++ modules/berkeley-db/Makefile.in 2011-04-20 16:21:26.184581749 +0200 +@@ -3,7 +3,7 @@ + srcdir = @srcdir@ + CC = @CC@ + DBCPPFLAGS = @CPPFLAGS@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CLISP_CFLAGS@ + CLISP = @CLISP@ -norc -q + CLISP_LINKKIT = @CLISP_LINKKIT@ + |