Date: Wed, 7 Aug 2019 09:08:07 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508305 - head/devel/fossil/files Message-ID: <201908070908.x77987FG010937@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Wed Aug 7 09:08:07 2019 New Revision: 508305 URL: https://svnweb.freebsd.org/changeset/ports/508305 Log: devel/fossil: check for the JSON1 extension when using sqlite3 from ports PR: 239668 Reported by: software@bertram-scharpf.de Added: head/devel/fossil/files/patch-auto.def (contents, props changed) Added: head/devel/fossil/files/patch-auto.def ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/fossil/files/patch-auto.def Wed Aug 7 09:08:07 2019 (r508305) @@ -0,0 +1,18 @@ +--- auto.def.orig 2019-07-13 13:05:19 UTC ++++ auto.def +@@ -149,6 +149,15 @@ if {![opt-bool internal-sqlite]} { + } + + find_internal_sqlite ++ ++ if {![cc-check-progs sqlite3]} { ++ user-error "system sqlite3 command not found" ++ } ++ msg-checking "Checking for JSON1 support in system sqlite3..." ++ if {[catch {exec [get-define SQLITE3] << {select json(true);}} res] || $res != 1} { ++ user-error "system sqlite3 does not have the JSON1 extension" ++ } ++ msg-result "yes" + } + + proc is_mingw {} {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908070908.x77987FG010937>