svn commit: r508305 - head/devel/fossil/files

Pietro Cerutti gahr at FreeBSD.org
Wed Aug 7 09:08:08 UTC 2019


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 at 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 {} {


More information about the svn-ports-all mailing list