aboutsummaryrefslogtreecommitdiff
path: root/databases/fastdb
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-12-04 10:42:00 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-12-04 10:42:00 +0000
commit6b8fb10e0ed03f735b49d3f2c86b2074f3898bf3 (patch)
tree768787d248405713e7cfbbd3770467faaec232c5 /databases/fastdb
parent576e13422f87def4579c383baae3596ce8a3a00c (diff)
downloadports-6b8fb10e0ed03f735b49d3f2c86b2074f3898bf3.tar.gz
ports-6b8fb10e0ed03f735b49d3f2c86b2074f3898bf3.zip
Notes
Diffstat (limited to 'databases/fastdb')
-rw-r--r--databases/fastdb/Makefile2
-rw-r--r--databases/fastdb/distinfo2
-rw-r--r--databases/fastdb/files/patch-makefile28
3 files changed, 14 insertions, 18 deletions
diff --git a/databases/fastdb/Makefile b/databases/fastdb/Makefile
index 0b027afc1c8e..9cbae104c531 100644
--- a/databases/fastdb/Makefile
+++ b/databases/fastdb/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= fastdb
-PORTVERSION= 2.80
+PORTVERSION= 2.83
CATEGORIES= databases
MASTER_SITES= http://www.garret.ru/~knizhnik/
diff --git a/databases/fastdb/distinfo b/databases/fastdb/distinfo
index 44ddc79965b7..a9bd2925b039 100644
--- a/databases/fastdb/distinfo
+++ b/databases/fastdb/distinfo
@@ -1 +1 @@
-MD5 (fastdb-2.80.tar.gz) = 38b3b5bf439d30814db6493384461706
+MD5 (fastdb-2.83.tar.gz) = a1bd753ab68ff90d7f197b24738b0183
diff --git a/databases/fastdb/files/patch-makefile b/databases/fastdb/files/patch-makefile
index ddde8c966ad6..883beb0ff587 100644
--- a/databases/fastdb/files/patch-makefile
+++ b/databases/fastdb/files/patch-makefile
@@ -1,6 +1,6 @@
---- makefile.orig Tue Feb 18 20:58:28 2003
-+++ makefile Thu Mar 27 20:58:31 2003
-@@ -32,6 +32,6 @@
+--- makefile.orig Thu Dec 4 13:21:49 2003
++++ makefile Thu Dec 4 13:26:32 2003
+@@ -32,8 +32,8 @@
SUFF=
else
ifneq (,$(findstring FreeBSD,$(OSTYPE)))
@@ -9,6 +9,8 @@
+TFLAGS=-D_REENTRANT ${PTHREAD_CFLAGS}
+THRLIBS=${PTHREAD_LIBS}
else
+ TFLAGS=-D_REENTRANT -D_THREAD_SAFE
+ THRLIBS=-lpthread
@@ -65,7 +65,7 @@
WEB_EXAMPLES = cgistub bugdb clidb
@@ -18,25 +20,23 @@
# Possible FastDB compile time parameters (-Dxxx should be added to DEFS macro):
# 1. USE_LOCALE_SETTINGS - use C locale for string comparison operations
-@@ -101,13 +101,13 @@
+@@ -107,13 +107,12 @@
DEFS = -DUSE_QUEUE_MANAGER -DUSE_LOCALE_SETTINGS
- #CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(DEFS)
--CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS)
+ #CFLAGS = $(TFLAGS) -c -Wall -O5 -g -fPIC $(DEFS)
+-CFLAGS = -c -Wall -O0 -g -fPIC $(DEFS) $(TFLAGS)
+CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS) -fPIC
- #CFLAGS = -c -Wall -O0 -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
--SHFLAGS=-shared
-+SHFLAGS = -shared -Wl,-soname,$@
-
+ #CFLAGS = -c -Wall -O0 -fPIC -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
+ SHFLAGS=-shared -Wl,-soname,$@
+-
LD = $(CC)
-LDFLAGS = -g $(TFLAGS)
+LDFLAGS = $(TFLAGS)
AR = ar
ARFLAGS = -cru
-@@ -326,18 +326,15 @@
-
+@@ -354,13 +354,12 @@
install: subsql installlib
mkdir -p $(BINSPATH)
- cp subsql $(BINSPATH)
@@ -52,8 +52,4 @@
+ ${BSD_INSTALL_PROGRAM} $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED) $(LIBSPATH)
cd $(LIBSPATH); ln -f -s $(FASTDB_SHARED) libfastdb$(SUFF).so
cd $(LIBSPATH); ln -f -s $(CLI_SHARED) libcli$(SUFF).so
--
--
- uninstall:
- rm -fr $(INCSPATH)