pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk If we're using db1, the create a compatibility head...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2745f78b605d
branches: trunk
changeset: 483604:2745f78b605d
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Nov 15 18:23:40 2004 +0000
description:
If we're using db1, the create a compatibility header db_185.h that is
in newer Berkeley DB packages.
diffstat:
mk/db1.builtin.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 92473796452a -r 2745f78b605d mk/db1.builtin.mk
--- a/mk/db1.builtin.mk Mon Nov 15 18:14:10 2004 +0000
+++ b/mk/db1.builtin.mk Mon Nov 15 18:23:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: db1.builtin.mk,v 1.3 2004/11/15 18:14:10 jlam Exp $
+# $NetBSD: db1.builtin.mk,v 1.4 2004/11/15 18:23:40 jlam Exp $
.for _lib_ in db db1
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -69,5 +69,14 @@
BUILDLINK_TRANSFORM+= l:db:db1
. endif
BUILDLINK_LIBS.db1= ${BUILDLINK_LDADD.db1}
+
+BUILDLINK_TARGETS+= buildlink-db1-db185-h
+. if !target(buildlink-db1-db185-h)
+.PHONY: buildlink-db1-db185-h
+buildlink-db1-db185-h:
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ ${ECHO} "#include <db.h>" > ${BUILDLINK_DIR}/include/db_185.h
+. endif
+
. endif # USE_BUILTIN.db1 == yes
.endif # CHECK_BUILTIN.db1
Home |
Main Index |
Thread Index |
Old Index