Make it build on DragonFly master.

This commit is contained in:
hasso 2009-07-12 10:34:19 +00:00
parent 74e4f6b1ea
commit 05480b95c3
2 changed files with 13 additions and 4 deletions

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.1 2008/09/09 22:23:32 tron Exp $
$NetBSD: distinfo,v 1.2 2009/07/12 10:34:19 hasso Exp $
SHA1 (db-4.6.21.tar.gz) = 5be3beb82e42a78ff671a3f5a4c30e5652972119
RMD160 (db-4.6.21.tar.gz) = ccf9a4b85cc0464b2f3c2f2da29d99328fd4978e
Size (db-4.6.21.tar.gz) = 11881885 bytes
SHA1 (patch-aa) = e4626d9ec00e8f3fae6e334447739febb9ad1be5
SHA1 (patch-ab) = 52e21be5e01e93d9c96f132d418e0d3c1ddcdadd
SHA1 (patch-ab) = 01ae6c671317d5b013ab154ae5a230391b3246f4
SHA1 (patch-ac) = 72930ded2e676e810242df60f94703f37a8be853

View file

@ -1,7 +1,16 @@
$NetBSD: patch-ab,v 1.1 2008/09/09 22:23:33 tron Exp $
$NetBSD: patch-ab,v 1.2 2009/07/12 10:34:19 hasso Exp $
--- dist/configure.orig 2007-09-27 18:32:04 +0300
+++ dist/configure 2008-05-09 01:20:00 +0300
+++ dist/configure 2009-07-11 22:40:41 +0300
@@ -3735,7 +3735,7 @@ bsdi3*) CC=${CC-"shlicc2"}
LIBSO_LIBS="$LIBSO_LIBS -lipc";;
cygwin*)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_REENTRANT";;
-freebsd*)
+freebsd*|dragonfly*)
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread";;
gnu*|k*bsd*-gnu|linux*)
@@ -5938,6 +5938,7 @@ db_cv_gxx_except=no;
if test "$GXX" = "yes"; then
GXX_VERSION=`${MAKEFILE_CXX} --version`