Files
ports/databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
T
Vladimir Druzenko 0ddb967933 databases/sqlcipher: Fix consumers
Rename installed files from *sqlite3* back to *sqlcipher*.
Unbreak consumers:
- finance/kmymoney
- finance/skrooge
- net-im/gurk-rs
- net-im/qTox
- net-p2p/retroshare
- databases/py-sqlcipher3

While here improve port:
- Use USES=localbase instead of CFLAGS+=-I${LOCALBASE}/include and
  LDFLAGS+=-L${LOCALBASE}/lib.
- Split long lines.
- Fix warnings from portclippy.
- Sort CONFIGURE_ARGS and CPPFLAGS.

PR:		292688
Approved by:	portmgr (blanket - fix consumers)
Fixes:		06c78b76ff (Update to 4.13.0)
2026-02-23 03:09:02 +03:00

18 lines
528 B
Tcl

--- autosetup/sqlite-config.tcl.orig 2026-01-19 17:01:34 UTC
+++ autosetup/sqlite-config.tcl
@@ -884,12 +884,11 @@ proc sqlite-handle-soname {} {
none - "" { return 0 }
legacy { set soname libsqlite3.so.0 }
default {
- if {[string match libsqlite3.* $soname]} {
- # use it as-is
- } else {
+ if {[string match {[0-9]*} $soname]} {
# Assume it's a suffix
set soname "libsqlite3.so.${soname}"
}
+ # else use it as-is
}
}
proc-debug "soname=$soname"