aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-08-17 02:40:22 +0800
committerdelphij <delphij@FreeBSD.org>2013-08-17 02:40:22 +0800
commit44ae0c1d8064d8684920ea1eee1bff4d9d24a63f (patch)
tree169513890647d54023f3764732f20d3aa3050b93 /databases
parent16be8ddeab6e335279441b9da06d0b1bea2e2359 (diff)
downloadfreebsd-ports-gnome-44ae0c1d8064d8684920ea1eee1bff4d9d24a63f.tar.gz
freebsd-ports-gnome-44ae0c1d8064d8684920ea1eee1bff4d9d24a63f.tar.zst
freebsd-ports-gnome-44ae0c1d8064d8684920ea1eee1bff4d9d24a63f.zip
Update to 0.9.7.
Diffstat (limited to 'databases')
-rw-r--r--databases/lmdb/Makefile4
-rw-r--r--databases/lmdb/distinfo4
-rw-r--r--databases/lmdb/files/patch-Makefile35
3 files changed, 24 insertions, 19 deletions
diff --git a/databases/lmdb/Makefile b/databases/lmdb/Makefile
index f2f33e5ca3ea..fca697c859cf 100644
--- a/databases/lmdb/Makefile
+++ b/databases/lmdb/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lmdb
-PORTVERSION= 0.9.6
+PORTVERSION= 0.9.7
CATEGORIES= databases
MASTER_SITES= https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive-tarball/${GO_TAGNAME}?dummy=
@@ -18,7 +18,7 @@ MAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" INSTALL_DATA="${INSTALL_DATA}" INSTALL_M
GO_ACCOUNT= mdb
GO_PROJECT= mdb
-GO_TAGNAME= ${PORTNAME:U}_${PORTVERSION:S/./_/g}
+GO_TAGNAME= ${PORTNAME:U}_${PORTVERSION}
FETCH_ARGS?= -o - > ${DISTDIR}/${DISTFILES}
MAN1= mdb_stat.1 mdb_copy.1
diff --git a/databases/lmdb/distinfo b/databases/lmdb/distinfo
index f7228f170943..53e56faf8f8c 100644
--- a/databases/lmdb/distinfo
+++ b/databases/lmdb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lmdb-0.9.6.tar.gz) = dddbf8de3f1802d6060f14bbcd37397fbebaf10971a20bfe5f2dcb008a44f14d
-SIZE (lmdb-0.9.6.tar.gz) = 96903
+SHA256 (lmdb-0.9.7.tar.gz) = 9f054dc62f4b24c85347568196b94501a70b04e4eb54235a0e9ab7a1e3e43390
+SIZE (lmdb-0.9.7.tar.gz) = 108534
diff --git a/databases/lmdb/files/patch-Makefile b/databases/lmdb/files/patch-Makefile
index 7a565db8a242..ca624d425d67 100644
--- a/databases/lmdb/files/patch-Makefile
+++ b/databases/lmdb/files/patch-Makefile
@@ -1,17 +1,22 @@
---- ./Makefile.orig 2013-02-25 05:06:51.000000000 -0800
-+++ ./Makefile 2013-03-11 12:29:40.265384057 -0700
-@@ -1,23 +1,21 @@
+--- ./Makefile.orig 2013-08-14 09:57:25.000000000 -0700
++++ ./Makefile 2013-08-16 11:35:51.697680677 -0700
+@@ -16,14 +16,12 @@
+ # There may be other macros in mdb.c of interest. You should
+ # read mdb.c before changing any of them.
+ #
-CC = gcc
W = -W -Wall -Wno-unused-parameter -Wbad-function-cast
+ THREADS = -pthread
OPT = -O2 -g
--CFLAGS = -pthread $(OPT) $(W) $(XCFLAGS)
+-CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
+CFLAGS = $(XCFLAGS)
LDLIBS =
SOLIBS =
-prefix = /usr/local
- IHDRS = lmdb.h
- ILIBS = liblmdb.a liblmdb.so
+ ########################################################################
+
+@@ -32,13 +30,13 @@
IPROGS = mdb_stat mdb_copy
IDOCS = mdb_stat.1 mdb_copy.1
PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
@@ -19,18 +24,18 @@
+all: $(ILIBS) $(IPROGS)
install: $(ILIBS) $(IPROGS) $(IHDRS)
-- cp $(IPROGS) $(DESTDIR)$(prefix)/bin
-- cp $(ILIBS) $(DESTDIR)$(prefix)/lib
-- cp $(IHDRS) $(DESTDIR)$(prefix)/include
-- cp $(IDOCS) $(DESTDIR)$(prefix)/man/man1
-+ ${INSTALL_PROGRAM} $(IPROGS) $(DESTDIR)$(prefix)/bin
-+ ${INSTALL_LIB} $(ILIBS) $(DESTDIR)$(prefix)/lib
-+ ${INSTALL_DATA} $(IHDRS) $(DESTDIR)$(prefix)/include
-+ ${INSTALL_MAN} $(IDOCS) $(DESTDIR)$(prefix)/man/man1
+- for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin; done
+- for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done
+- for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
+- for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done
++ for f in $(IPROGS); do ${INSTALL_PROGRAM} $$f $(DESTDIR)$(prefix)/bin; done
++ for f in $(ILIBS); do ${INSTALL_LIB} $$f $(DESTDIR)$(prefix)/lib; done
++ for f in $(IHDRS); do ${INSTALL_DATA} $$f $(DESTDIR)$(prefix)/include; done
++ for f in $(IDOCS); do ${INSTALL_MAN} $$f $(DESTDIR)$(prefix)/man/man1; done
clean:
rm -rf $(PROGS) *.[ao] *.so *~ testdb
-@@ -33,7 +31,9 @@
+@@ -54,7 +52,9 @@
$(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.o midl.o $(SOLIBS)
mdb_stat: mdb_stat.o liblmdb.a