net/asterisk & sqlite* usage...

Jason Hellenthal jhellenthal at dataix.net
Tue Mar 20 14:38:12 UTC 2012


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 =;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120320/ffc612a5/attachment.pgp


More information about the freebsd-ports mailing list