1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/Mk/Uses/sqlite.mk
Tobias C. Berner aa25396790 framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
2022-04-24 12:00:20 +02:00

23 lines
513 B
Makefile

# Provide support for SQLite
# Feature: sqlite
# Usage: USES= sqlite[:version]
# MAINTAINER: ports@FreeBSD.org
.if !defined(_INCLUDE_USES_SQLITE_MK)
_INCLUDE_USES_SQLITE_MK= yes
. if !empty(sqlite_ARGS)
SQLITE_VER= ${sqlite_ARGS}
. endif
SQLITE_VER?= 3
. if ${SQLITE_VER} == 3
LIB_DEPENDS+= libsqlite3.so:databases/sqlite${SQLITE_VER}
. elif ${SQLITE_VER} == 2
LIB_DEPENDS+= libsqlite.so:databases/sqlite${SQLITE_VER}
. else
IGNORE= cannot install: unknown SQLite version: ${SQLITE_VER}
. endif
.endif