From: Vicente Olivert Riera Date: Wed, 30 Mar 2016 17:14:08 +0100 Subject: [Buildroot] [PATCH 2/4] tcl: fix sqlite usage In-Reply-To: <1459354450-37009-1-git-send-email-Vincent.Riera@imgtec.com> References: <1459354450-37009-1-git-send-email-Vincent.Riera@imgtec.com> Message-ID: <1459354450-37009-2-git-send-email-Vincent.Riera@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net - Remove the bundled sqlite unconditionally. - Remove the --with-system-sqlite option as is only valid for the bundled sqlite configure script which we will no longer use. - Do not remove TDBC when BR2_PACKAGE_SQLITE is not selected as it may be used for other TDBC drivers such as MySQL or PostgreSQL. Fixes: http://autobuild.buildroot.net/results/022/02296f8624d3406a63d3a179f53862f245c56dc1/ Signed-off-by: Vicente Olivert Riera --- package/tcl/tcl.mk | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index edf939b..7c2cb47 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -14,15 +14,10 @@ TCL_SUBDIR = unix TCL_INSTALL_STAGING = YES TCL_AUTORECONF = YES -# Note that --with-system-sqlite will only make a difference -# in the sqlite package (which gets removed if sqlite not -# configured). Don't need to worry about conditionally including -# it in the configure options TCL_CONF_OPTS = \ --disable-symbols \ --disable-langinfo \ - --disable-framework \ - --with-system-sqlite + --disable-framework HOST_TCL_CONF_OPTS = \ --disable-symbols \ @@ -36,9 +31,10 @@ define HOST_TCL_REMOVE_PACKAGES $(@D)/pkgs/tdbc* endef HOST_TCL_PRE_CONFIGURE_HOOKS += HOST_TCL_REMOVE_PACKAGES + +# We remove the bundled sqlite as we prefer to not use bundled stuff at all. define TCL_REMOVE_PACKAGES - rm -fr $(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/sqlite3*) \ - $(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbc1*) \ + rm -fr $(@D)/pkgs/sqlite3* \ $(@D)/pkgs/tdbcmysql* \ $(@D)/pkgs/tdbcodbc* \ $(@D)/pkgs/tdbcpostgres* \ -- 2.7.3