aboutsummaryrefslogtreecommitdiff
path: root/databases/fastdb/files
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-03-27 20:36:08 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-03-27 20:36:08 +0000
commit52f5023e58eaa01951644ac93f7d1a5b74b1c275 (patch)
treea5bd739fda016d38b0373cca27857f06877a2447 /databases/fastdb/files
parent9dca61ad35316f3fb4c2b0ffc2f1ad99075be368 (diff)
downloadports-52f5023e58eaa01951644ac93f7d1a5b74b1c275.tar.gz
ports-52f5023e58eaa01951644ac93f7d1a5b74b1c275.zip
Notes
Diffstat (limited to 'databases/fastdb/files')
-rw-r--r--databases/fastdb/files/patch-makefile18
1 files changed, 10 insertions, 8 deletions
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)