View | Details | Raw Unified | Return to bug 110651
Collapse All | Expand All

(-)Makefile.modules (-29 / +4 lines)
Lines 64-99 Link Here
64
.       if ${WITH_BERKELEYDB} == "FreeBSD"
64
.       if ${WITH_BERKELEYDB} == "FreeBSD"
65
CONFIGURE_ARGS+=	--with-dbm=db185 \
65
CONFIGURE_ARGS+=	--with-dbm=db185 \
66
			--with-berkeley-db=/usr
66
			--with-berkeley-db=/usr
67
.       elif ${WITH_BERKELEYDB} == "db2"
68
LIB_DEPENDS+=		db2:${PORTSDIR}/databases/db2
69
CONFIGURE_ARGS+=	--with-dbm=db2 \
70
			--with-berkeley-db=${LOCALBASE}
71
.       elif ${WITH_BERKELEYDB} == "db3"
72
LIB_DEPENDS+=		db3:${PORTSDIR}/databases/db3
73
CONFIGURE_ARGS+=	--with-dbm=db3 \
74
			--with-berkeley-db=${LOCALBASE}
75
.       elif ${WITH_BERKELEYDB} == "db4"
76
LIB_DEPENDS+=		db4:${PORTSDIR}/databases/db4
77
CONFIGURE_ARGS+=	--with-dbm=db4 \
78
			--with-berkeley-db=${LOCALBASE}
79
.       elif ${WITH_BERKELEYDB} == "db41"
80
LIB_DEPENDS+=		db41:${PORTSDIR}/databases/db41
81
CONFIGURE_ARGS+=	--with-dbm=db41 \
82
			--with-berkeley-db=${LOCALBASE}
83
.       elif ${WITH_BERKELEYDB} == "db42"
84
LIB_DEPENDS+=		db-4.2:${PORTSDIR}/databases/db42
85
CONFIGURE_ARGS+=	--with-dbm=db42 \
86
			--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db42
87
.       elif ${WITH_BERKELEYDB} == "db43"
88
LIB_DEPENDS+=		db-4.3:${PORTSDIR}/databases/db43
89
CONFIGURE_ARGS+=	--with-dbm=db43 \
90
			--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db43
91
.       elif ${WITH_BERKELEYDB} == "db44"
92
LIB_DEPENDS+=		db-4.4:${PORTSDIR}/databases/db44
93
CONFIGURE_ARGS+=	--with-dbm=db44 \
94
			--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db44
95
.       else
67
.       else
96
IGNORE=		"Unknown Berkeley DB version"
68
USE_BDB=		YES
69
CONFIGURE_ARGS+=	--with-dbm=db${BDB_VER} \
70
			--with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}
71
#IGNORE=		"Unknown Berkeley DB version"
97
.       endif
72
.       endif
98
.   else
73
.   else
99
IGNORE=		"Unknown DBM"
74
IGNORE=		"Unknown DBM"

Return to bug 110651