diff options
author | mnag <mnag@FreeBSD.org> | 2008-04-06 02:26:35 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2008-04-06 02:26:35 +0800 |
commit | 7db90a1c334f8986419b671fa78447515f337cb1 (patch) | |
tree | bf6394a982dd0956cf429a81b3eb09cd5cc75425 | |
parent | a620e184c49253ce90be73e6f241ee22b4446cfe (diff) | |
download | freebsd-ports-gnome-7db90a1c334f8986419b671fa78447515f337cb1.tar.gz freebsd-ports-gnome-7db90a1c334f8986419b671fa78447515f337cb1.tar.zst freebsd-ports-gnome-7db90a1c334f8986419b671fa78447515f337cb1.zip |
- Fix when USE_SQLITE != yes
- Fix lib version of sqlite34
-rw-r--r-- | Mk/bsd.database.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk index 8b17079262a7..03ec75f27610 100644 --- a/Mk/bsd.database.mk +++ b/Mk/bsd.database.mk @@ -391,17 +391,19 @@ IGNORE= ${_IGNORE_MSG} .if ${USE_SQLITE:L} == "yes" _SQLITE_VER= 3 +.else +_SQLITE_VER= ${USE_SQLITE} .endif # USE_SQLITE is specified incorrectly, so mark this as IGNORE .if ${_SQLITE_VER} == "3" -LIB_DEPENDS+= sqlite${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER} +LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} .elif ${_SQLITE_VER} == "34" -LIB_DEPENDS+= sqlite${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER} +LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} .elif ${_SQLITE_VER} == "2" -LIB_DEPENDS+= sqlite.${_SQLITE_VER}:${PORTSDIR}/databases/sqlite${_SQLITE_VER} +LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite${_SQLITE_VER} SQLITE_VER= ${_SQLITE_VER} .else IGNORE= cannot install: unknown sqlite version: ${_SQLITE_VER} |