From 319cce882961fb20c7c4337b5b6506a28a885cc1 Mon Sep 17 00:00:00 2001 From: mnag Date: Sat, 5 Apr 2008 14:55:43 +0000 Subject: - Add option to databases/sqlite34 --- Mk/bsd.database.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Mk/bsd.database.mk') diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk index 7041e0d25202..347cab4d5a39 100644 --- a/Mk/bsd.database.mk +++ b/Mk/bsd.database.mk @@ -391,14 +391,15 @@ IGNORE= ${_IGNORE_MSG} .if ${USE_SQLITE:L} == "yes" _SQLITE_VER= 3 -.else -_SQLITE_VER= ${USE_SQLITE} -.endif +.fi # USE_SQLITE is specified incorrectly, so mark this as IGNORE .if ${_SQLITE_VER} == "3" LIB_DEPENDS+= sqlite${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} +.elif ${_SQLITE_VER} == "34" +LIB_DEPENDS+= sqlite${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER} +SQLITE_VER= ${_SQLITE_VER} .elif ${_SQLITE_VER} == "2" LIB_DEPENDS+= sqlite.${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} -- cgit