pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/db4 DB-1.85 compatability was enabled long l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/289bb4527e1c
branches: trunk
changeset: 538694:289bb4527e1c
user: obache <obache%pkgsrc.org@localhost>
date: Sat Feb 16 15:57:06 2008 +0000
description:
DB-1.85 compatability was enabled long long ago.
At least, all db4>=4.6.21 have it.
Add same trick as db2/db3.
Fixed link problem that expect db-1.85 compat library is -ldb, like a PR 37647.
diffstat:
databases/db4/buildlink3.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 059582444984 -r 289bb4527e1c databases/db4/buildlink3.mk
--- a/databases/db4/buildlink3.mk Sat Feb 16 15:53:14 2008 +0000
+++ b/databases/db4/buildlink3.mk Sat Feb 16 15:57:06 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.32 2008/01/10 21:55:52 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.33 2008/02/16 15:57:06 obache Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+
@@ -18,6 +18,12 @@
BUILDLINK_LDADD.db4= -ldb4
BUILDLINK_TRANSFORM+= l:db-4:db4
+. include "../../mk/bsd.fast.prefs.mk"
+. if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
+BUILDLINK_LIBS.db4= ${BUILDLINK_LDADD.db4}
+BUILDLINK_TRANSFORM+= l:db:db4
+. endif
+
. include "../../mk/compiler.mk"
. if empty(PKGSRC_COMPILER:Mgcc)
PTHREAD_OPTS+= native
Home |
Main Index |
Thread Index |
Old Index