pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/db provide BUILDLINK_LDFLAGS.db and BUILDLIN...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac1379d85730
branches: trunk
changeset: 464136:ac1379d85730
user: grant <grant%pkgsrc.org@localhost>
date: Thu Dec 04 04:14:05 2003 +0000
description:
provide BUILDLINK_LDFLAGS.db and BUILDLINK_LIBS.db.
diffstat:
databases/db/buildlink2.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 123f0166cf88 -r ac1379d85730 databases/db/buildlink2.mk
--- a/databases/db/buildlink2.mk Thu Dec 04 04:14:04 2003 +0000
+++ b/databases/db/buildlink2.mk Thu Dec 04 04:14:05 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.7 2002/12/29 00:43:52 seb Exp $
+# $NetBSD: buildlink2.mk,v 1.8 2003/12/04 04:14:05 grant Exp $
.if !defined(DB_BUILDLINK2_MK)
DB_BUILDLINK2_MK= # defined
@@ -14,12 +14,16 @@
BUILDLINK_FILES.db= include/db.h
BUILDLINK_FILES.db+= include/mpool.h
BUILDLINK_CPPFLAGS.db= # empty
+BUILDLINK_LDFLAGS.db= # empty
+BUILDLINK_LIBS.db= # empty
_NEED_DB2= NO
. elif exists(/usr/include/db1/db.h)
# Linux
BUILDLINK_PREFIX.db= /usr
BUILDLINK_FILES.db= include/db1/*
BUILDLINK_CPPFLAGS.db= -I${BUILDLINK_PREFIX.db}/include/db1
+BUILDLINK_LDFLAGS.db= # empty
+BUILDLINK_LIBS.db= -ldb1
BUILDLINK_TRANSFORM+= l:db:db1
_NEED_DB2= NO
. endif
@@ -32,6 +36,8 @@
BUILDLINK_FILES.db= include/db2/*
BUILDLINK_FILES.db+= lib/libdb2.*
BUILDLINK_CPPFLAGS.db= -I${BUILDLINK_PREFIX.db}/include/db2
+BUILDLINK_LDFLAGS.db= -L${BUILDLINK_PREFIX.db}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db}/lib
+BUILDLINK_LIBS.db= -ldb2
BUILDLINK_TRANSFORM+= l:db:db2
.endif
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.db}
Home |
Main Index |
Thread Index |
Old Index