aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2008-04-05 22:55:43 +0800
committermnag <mnag@FreeBSD.org>2008-04-05 22:55:43 +0800
commit319cce882961fb20c7c4337b5b6506a28a885cc1 (patch)
tree7f9526583b66fffd83868d76ec6b84310547a8d2 /Mk
parent5fde06d3ecad3eb20a7d704745e5402c801f7eea (diff)
downloadfreebsd-ports-gnome-319cce882961fb20c7c4337b5b6506a28a885cc1.tar.gz
freebsd-ports-gnome-319cce882961fb20c7c4337b5b6506a28a885cc1.tar.zst
freebsd-ports-gnome-319cce882961fb20c7c4337b5b6506a28a885cc1.zip
- Add option to databases/sqlite34
Diffstat (limited to '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}