Refer to the Berkeley DB libraries using ${BDB_TYPE} instead of db2.

This has no effect, but makes maintenance easier if we ever add to
BDB_ACCEPTED in this Makefile.
This commit is contained in:
jlam 2004-11-15 15:22:34 +00:00
parent e56645dafa
commit f8c1e08c16

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2004/11/15 15:13:12 jlam Exp $ # $NetBSD: Makefile,v 1.16 2004/11/15 15:22:34 jlam Exp $
# #
DISTNAME= cucipop-1.31 DISTNAME= cucipop-1.31
@ -36,7 +36,7 @@ PKG_SUPPORTED_OPTIONS= db
. include "../../mk/bdb.buildlink3.mk" . include "../../mk/bdb.buildlink3.mk"
BDB_ACCEPTED= db2 BDB_ACCEPTED= db2
CFLAGS+= -DUSE_DB CFLAGS+= -DUSE_DB
MAKE_ENV+= LIBS=${BUILDLINK_LIBS.bdb} MAKE_ENV+= LIBS=${BUILDLINK_LIBS.${BDB_TYPE}}
.endif .endif
# to be friendly with pre-1.5 systems # to be friendly with pre-1.5 systems