Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2012 10:38:08 -0400
From:      Jason Hellenthal <jhellenthal@dataix.net>
To:        flo@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   net/asterisk & sqlite* usage...
Message-ID:  <20120320143808.GA69351@DataIX.net>

next in thread | raw e-mail | index | archive | help

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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...:

=2Eif !defined(WITH_SQLITE)
PLIST_SUB+=3D     WITH_SQLITE=3D"@comment "
CONFIGURE_ARGS+=3D --without-sqlite \
                 --with-sqlite3=3Dno
=2Eelse
PLIST_SUB+=3D     WITH_SQLITE=3D""
CONFIGURE_ARGS+=3D --with-sqlite
LIB_DEPENDS+=3D sqlite:${PORTSDIR}/databases/sqlite2 \
              sqlite3:${PORTSDIR}/databases/sqlite3
=2Eendif


--=20
;s =3D;

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJPaJZPAAoJEJBXh4mJ2FR+L40IAI5ce8pPZVdxAhqBAeRFAk4t
8sGiYAR+EcSALJO09Ezxc+zFR21kh3BdxkVf8gSlSb5UOUoEjgx2RN8wiaucvzit
/D0dfw6fdnodQlJLdHgEfQiXRhhX95AnEEZfAu/F17ShdRVd+LjFCZWH6VVc2Mlt
o4XF6B/KoygtyTjUlHB1CuJLifYj8XtIsDI6+BQ+WqAjgiaLn/QPTNVnPFX2hFEq
OhRVg9Xd2yvoFFiqBKz51aoZpo0kF+ROTBy5rhonUTDELRDsAfoG1AGkRuut4xRo
8jMvji8OT0h8SOrZFsZO2Osf+5BQr0o8gxWNvimOgjBWQKyG3SOwkYlMECW5AGo=
=ZCdk
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120320143808.GA69351>