Attempting to understand why asterisk needs two versions of sqlite and
why even if sqlite3 is found sqlite2 is installed anyway...

This behavior does not seem to be quite correct and seems there should
be some (if) statements here to determine whether sqlite3 is installed
and then fallback and check to see if sqlite2 is installed and if none
are then inform the user and fall back to one or the other as the
default.

:...Makefile...:

.if !defined(WITH_SQLITE)
PLIST_SUB+=     WITH_SQLITE="@comment "
CONFIGURE_ARGS+= --without-sqlite \
                 --with-sqlite3=no
.else
PLIST_SUB+=     WITH_SQLITE=""
CONFIGURE_ARGS+= --with-sqlite
LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2 \
              sqlite3:${PORTSDIR}/databases/sqlite3
.endif


-- 
;s =;

Attachment: pgpUdDZh35jNr.pgp
Description: PGP signature

Reply via email to