Downgrade to 0.9.18 due to regressions.

This commit is contained in:
Xin LI 2017-01-18 17:46:54 +00:00
parent 699c937769
commit ddaf098cbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431818
3 changed files with 16 additions and 13 deletions

View File

@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= lmdb
PORTVERSION= 0.9.20
PORTVERSION= 0.9.18
PORTEPOCH= 1
DISTVERSIONPREFIX= ${PORTNAME:tu}_
CATEGORIES= databases

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1484206474
SHA256 (LMDB-lmdb-LMDB_0.9.20_GH0.tar.gz) = 8ae77a093352d3e894fdfaa387266fc650a04746429cdf303b3d93fd0751d971
SIZE (LMDB-lmdb-LMDB_0.9.20_GH0.tar.gz) = 143309
TIMESTAMP = 1484761556
SHA256 (LMDB-lmdb-LMDB_0.9.18_GH0.tar.gz) = dd35b471d6eea84f48f2feece13d121abf59ef255308b8624a36223ffbdf9989
SIZE (LMDB-lmdb-LMDB_0.9.18_GH0.tar.gz) = 139156

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2017-01-11 16:19:33 UTC
--- Makefile.orig 2016-02-05 21:22:15 UTC
+++ Makefile
@@ -23,17 +23,17 @@ AR = ar
@@ -23,7 +23,7 @@ AR = ar
W = -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized
THREADS = -pthread
OPT = -O2 -g
@ -8,11 +8,8 @@
+CFLAGS += $(THREADS) $(W)
LDLIBS =
SOLIBS =
-SOEXT = .so
+SOEXT = .so.0
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
@@ -32,26 +32,26 @@ bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
includedir = $(prefix)/include
datarootdir = $(prefix)/share
@ -21,7 +18,9 @@
########################################################################
@@ -42,17 +42,17 @@ ILIBS = liblmdb.a liblmdb$(SOEXT)
IHDRS = lmdb.h
-ILIBS = liblmdb.a liblmdb.so
+ILIBS = liblmdb.a liblmdb.so.0
IPROGS = mdb_stat mdb_copy mdb_dump mdb_load
IDOCS = mdb_stat.1 mdb_copy.1 mdb_dump.1 mdb_load.1
PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
@ -44,9 +43,12 @@
clean:
rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb
@@ -66,12 +66,16 @@ liblmdb.a: mdb.o midl.o
@@ -63,14 +63,18 @@ test: all
liblmdb.a: mdb.o midl.o
$(AR) rs $@ mdb.o midl.o
liblmdb$(SOEXT): mdb.lo midl.lo
-liblmdb.so: mdb.lo midl.lo
+liblmdb.so.0: mdb.lo midl.lo
# $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o $(SOLIBS)
- $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
+ $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname,$@ -o $@ mdb.lo midl.lo $(SOLIBS)