aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.database.mk
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2008-04-05 14:55:43 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2008-04-05 14:55:43 +0000
commit99c9326aa122a3db64aded065117eba1edbf0b3b (patch)
tree5b4077638b2e793815554fb4c8aa1b0fb1b337ca /Mk/bsd.database.mk
parentd56e8ed49a6abe0343966bfd5185f67ee1082361 (diff)
downloadports-99c9326aa122a3db64aded065117eba1edbf0b3b.tar.gz
ports-99c9326aa122a3db64aded065117eba1edbf0b3b.zip
- Add option to databases/sqlite34
Notes
Notes: svn path=/head/; revision=210584
Diffstat (limited to 'Mk/bsd.database.mk')
-rw-r--r--Mk/bsd.database.mk7
1 files changed, 4 insertions, 3 deletions
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}