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

(-)/root/tdb/Makefile (-6 / +4 lines)
Lines 15-26 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Trivial Database
16
COMMENT=	Trivial Database
17
17
18
LIB_DEPENDS=	gdbm:${PORTSDIR}/databases/gdbm
18
USE_AUTOMAKE_VER=	14
19
19
USE_AUTOCONF_VER=	213
20
USE_LIBTOOL=	yes
20
USE_LIBTOOL_VER=	13
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
21
INSTALLS_SHLIB=		yes
22
		LDFLAGS="-L${LOCALBASE}/lib"
23
INSTALLS_SHLIB=	yes
24
22
25
MAN3=	tdb.3 tdb_chainlock.3 tdb_close.3 tdb_delete.3 tdb_error.3 \
23
MAN3=	tdb.3 tdb_chainlock.3 tdb_close.3 tdb_delete.3 tdb_error.3 \
26
	tdb_exists.3 tdb_fetch.3 tdb_firstkey.3 tdb_open.3 tdb_store.3 \
24
	tdb_exists.3 tdb_fetch.3 tdb_firstkey.3 tdb_open.3 tdb_store.3 \
(-)/root/tdb/files/patch-tdbspeed-gdbm (+42 lines)
Line 0 Link Here
1
--- configure.in.orig	2002-09-03 07:48:38.000000000 +1000
2
+++ configure.in	2002-09-03 07:45:23.000000000 +1000
3
@@ -18,13 +18,14 @@
4
 AC_CHECK_LIB(gdbm, gdbm_open,
5
 	[have_gdbm=true],[have_gdbm=false])
6
 if test "x$have_gdbm" = "xfalse";then
7
-  AC_MSG_WARN(WARNING: tdbtest is disabled. It needs gdbm.)
8
+  AC_MSG_WARN(WARNING: tdbspeed and tdbtest are disabled. They need gdbm.)
9
 fi
10
 AC_CHECK_LIB(dl, dlopen,[have_dllib=true],[have_dllib=false])
11
 if test "x$have_dllib" = "xfalse";then
12
   AC_MSG_WARN(WARNING: tdbtorture is disabled. It needs libdl.)
13
 fi
14
 
15
+AM_CONDITIONAL(BUILD_TDBSPEED,$have_gdbm)
16
 AM_CONDITIONAL(BUILD_TDBTEST,$have_gdbm)
17
 AM_CONDITIONAL(BUILD_TDBTORTURE,$have_dllib)
18
 
19
--- Makefile.am.orig	2002-09-03 07:48:50.000000000 +1000
20
+++ Makefile.am	2002-09-03 07:42:58.000000000 +1000
21
@@ -1,6 +1,12 @@
22
 CFLAGS = @CFLAGS@ @WARNS@
23
 LDADD=libtdb.la
24
 
25
+if BUILD_TDBSPEED
26
+TDBSPEED = tdbspeed
27
+else
28
+TDBSPEED =
29
+endif
30
+
31
 if BUILD_TDBTEST
32
 TDBTEST = tdbtest
33
 else
34
@@ -13,7 +19,7 @@
35
 TDBTORTURE =
36
 endif
37
 
38
-noinst_PROGRAMS=tdbspeed tdbiterate $(TDBTEST) $(TDBTORTURE)
39
+noinst_PROGRAMS=tdbiterate $(TDBSPEED) $(TDBTEST) $(TDBTORTURE)
40
 bin_PROGRAMS=tdbtool tdbdump
41
 
42
 lib_LTLIBRARIES=libtdb.la

Return to bug 55658