summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/fastdb/Makefile6
-rw-r--r--databases/fastdb/distinfo2
-rw-r--r--databases/fastdb/files/patch-makefile18
3 files changed, 14 insertions, 12 deletions
diff --git a/databases/fastdb/Makefile b/databases/fastdb/Makefile
index 5936cde793b1..32688d29dbab 100644
--- a/databases/fastdb/Makefile
+++ b/databases/fastdb/Makefile
@@ -7,17 +7,17 @@
#
PORTNAME= fastdb
-PORTVERSION= 2.57
+PORTVERSION= 2.58
CATEGORIES= databases
MASTER_SITES= http://www.garret.ru/~knizhnik/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= osa@FreeBSD.org.ru
COMMENT= Main Memory Relational Database Management System
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
-MAKE_ENV= OSTYPE="${OPSYS:L}" \
+MAKE_ENV= OSTYPE="${OPSYS}" \
PREFIX="${PREFIX}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
diff --git a/databases/fastdb/distinfo b/databases/fastdb/distinfo
index a115c23aff0f..a16fa725eed9 100644
--- a/databases/fastdb/distinfo
+++ b/databases/fastdb/distinfo
@@ -1 +1 @@
-MD5 (fastdb-2.57.tar.gz) = 9667162004340138eb2409e2e2749877
+MD5 (fastdb-2.58.tar.gz) = 6907b953ca1a731a0f1e91306796ad57
diff --git a/databases/fastdb/files/patch-makefile b/databases/fastdb/files/patch-makefile
index 37b74abe629a..22bdbcce6498 100644
--- a/databases/fastdb/files/patch-makefile
+++ b/databases/fastdb/files/patch-makefile
@@ -1,16 +1,14 @@
---- makefile.orig Tue Dec 10 00:22:22 2002
-+++ makefile Tue Jan 14 18:57:13 2003
-@@ -32,8 +32,8 @@
+--- makefile.orig Tue Feb 18 20:58:28 2003
++++ makefile Thu Mar 27 20:58:31 2003
+@@ -32,6 +32,6 @@
SUFF=
else
- ifneq (,$(findstring freebsd,$(OSTYPE)))
+ ifneq (,$(findstring FreeBSD,$(OSTYPE)))
-TFLAGS=-pthread
-THRLIBS=
+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
@@ -28,7 +26,7 @@
+CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS)
#CFLAGS = -c -Wall -O0 -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
-SHFLAGS=-shared
-+SHFLAGS=-shared -Wl,-soname,$@
++SHFLAGS = -shared -Wl,-soname,$@
LD = $(CC)
@@ -37,7 +35,7 @@
AR = ar
ARFLAGS = -cru
-@@ -326,14 +326,13 @@
+@@ -326,18 +326,15 @@
install: subsql installlib
mkdir -p $(BINSPATH)
@@ -54,4 +52,8 @@
+ ${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)