View | Details | Raw Unified | Return to bug 40201
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	fastdb
9
PORTNAME=	fastdb
10
PORTVERSION=	2.23
10
PORTVERSION=	2.41
11
CATEGORIES=	databases
11
CATEGORIES=	databases
12
MASTER_SITES=	http://www.ispras.ru/~knizhnik/
12
MASTER_SITES=	http://www.ispras.ru/~knizhnik/
13
13
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (fastdb-2.23.tar.gz) = d14f49fec98f06db90d8d59f6ede9cc2
1
MD5 (fastdb-2.41.tar.gz) = d5cc58fd466c73d2627f4bbf57440892
(-)files/patch-makefile (-12 / +12 lines)
Lines 1-5 Link Here
1
--- makefile.orig	Fri Apr  6 12:13:44 2001
1
--- makefile.orig	Thu Jul  4 23:46:37 2002
2
+++ makefile	Wed Aug  8 02:04:05 2001
2
+++ makefile	Thu Jul  4 23:50:24 2002
3
@@ -2,13 +2,13 @@
3
@@ -2,13 +2,13 @@
4
 # Makefile for Generic Unix with GCC compiler
4
 # Makefile for Generic Unix with GCC compiler
5
 
5
 
Lines 28-45 Link Here
28
 endif
28
 endif
29
 SUFF=_r
29
 SUFF=_r
30
 endif
30
 endif
31
@@ -60,19 +60,18 @@
31
@@ -60,7 +60,6 @@
32
 
32
 
33
 WEB_EXAMPLES = cgistub bugdb clidb
33
 WEB_EXAMPLES = cgistub bugdb clidb
34
 
34
 
35
-CC = g++
35
-CC = g++
36
 #DEFS =-DTHROW_EXCEPTION_ON_ERROR -DUSE_QUEUE_MANAGER
37
 DEFS = -DUSE_QUEUE_MANAGER -DUSE_LOCALE_SETTINGS
38
 
36
 
39
-CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(TFLAGS) 
37
 # Possible FastDB compile time parameters (-Dxxx should be added to DEFS macro):
40
+CFLAGS += -c $(TFLAGS) 
38
 # 1. USE_LOCALE_SETTING - use C locale for string comparison operations
39
@@ -93,13 +92,13 @@
41
 
40
 
42
 #CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS)
41
 #CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(TFLAGS) 
42
 
43
-CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS)
44
+CFLAGS += -c $(TFLAGS)
43
 #CFLAGS = -c -Wall -O0 -DDEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
45
 #CFLAGS = -c -Wall -O0 -DDEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS)
44
-SHFLAGS=-shared
46
-SHFLAGS=-shared
45
+SHFLAGS=-shared -Wl,-soname,$@
47
+SHFLAGS=-shared -Wl,-soname,$@
Lines 51-57 Link Here
51
 
53
 
52
 AR = ar
54
 AR = ar
53
 ARFLAGS = -cru
55
 ARFLAGS = -cru
54
@@ -255,16 +254,15 @@
56
@@ -302,14 +301,13 @@
55
 
57
 
56
 installlib: $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED)
58
 installlib: $(FASTDB_LIB) $(CLI_LIB) $(FASTDB_SHARED) $(CLI_SHARED)
57
 	mkdir -p $(INCSPATH)
59
 	mkdir -p $(INCSPATH)
Lines 65-73 Link Here
65
 	ln -f -s $(LIBSPATH)/$(CLI_SHARED) $(LIBSPATH)/libcli$(SUFF).so
67
 	ln -f -s $(LIBSPATH)/$(CLI_SHARED) $(LIBSPATH)/libcli$(SUFF).so
66
 	mkdir -p $(BINSPATH)
68
 	mkdir -p $(BINSPATH)
67
-	cp subsql $(BINSPATH)
69
-	cp subsql $(BINSPATH)
70
+	${BSD_INSTALL_PROGRAM} subsql $(BINSPATH)
68
 
71
 
69
 
72
 
70
+	${BSD_INSTALL_PROGRAM} subsql $(BINSPATH)
71
 
73
 
72
 cleanobj:
73
 	rm -fr *.o *.tgz core *~ cxx_repository

Return to bug 40201