mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Update to 0.9.7.
This commit is contained in:
parent
ad45dfe3fb
commit
4ee49f4279
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324812
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user