From owner-svn-ports-head@freebsd.org Wed Aug 7 09:08:08 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B4B4C3D23; Wed, 7 Aug 2019 09:08:08 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 463Qdg6ypsz4RKR; Wed, 7 Aug 2019 09:08:07 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D0E51A333; Wed, 7 Aug 2019 09:08:07 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x77987G1010938; Wed, 7 Aug 2019 09:08:07 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x77987FG010937; Wed, 7 Aug 2019 09:08:07 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201908070908.x77987FG010937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Wed, 7 Aug 2019 09:08:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508305 - head/devel/fossil/files X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: head/devel/fossil/files X-SVN-Commit-Revision: 508305 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2019 09:08:08 -0000 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 {} {