aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2026-11-04 13:55:36 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2026-11-04 14:00:32 +0000
commitf3f385c385ae9fe27ccdd544f8e6827941150d2c (patch)
treedfbd2e11fea7265dc5f12ee91caed7c2484ea031
parent623d07ad4bc591d1154e23e261bf26de56e7db6f (diff)
*/*: Use sqlite helper
Make use of USES= sqlite instead of LIB_DEPENDS https://docs.freebsd.org/en/books/porters-handbook/book/#using-databases Approved by: blanket
-rw-r--r--audio/audacity/Makefile4
-rw-r--r--audio/musicpd/Makefile2
-rw-r--r--biology/gcta/Makefile3
-rw-r--r--biology/ncbi-blast+/Makefile4
-rw-r--r--chinese/ibus-libpinyin/Makefile5
-rw-r--r--chinese/ibus-pinyin/Makefile5
-rw-r--r--chinese/libcangjie/Makefile5
-rw-r--r--chinese/pyzy/Makefile4
-rw-r--r--databases/libdrizzle/Makefile4
-rw-r--r--databases/pgloader3/Makefile5
-rw-r--r--databases/py-sqlite3/Makefile3
-rw-r--r--databases/rubygem-do_sqlite3/Makefile3
-rw-r--r--databases/sqlclient/Makefile5
-rw-r--r--databases/sqlite-jdbc/Makefile3
-rw-r--r--databases/sqlrelay/Makefile4
-rw-r--r--databases/tcl-sqlite3/Makefile4
-rw-r--r--devel/llbuild/Makefile4
-rw-r--r--games/minetestmapper/Makefile3
-rw-r--r--irc/anope-devel/Makefile2
-rw-r--r--lang/puffin/Makefile3
-rw-r--r--lang/snobol4/Makefile2
-rw-r--r--math/heyoka/Makefile3
-rw-r--r--net-im/dino/Makefile3
-rw-r--r--net-im/libpurple/Makefile2
-rw-r--r--net-mgmt/andwatch/Makefile5
-rw-r--r--net-mgmt/seafile-gui/Makefile4
-rw-r--r--net-mgmt/uptime-kuma/Makefile3
-rw-r--r--net/csync2/Makefile5
-rw-r--r--net/freeradius3/Makefile2
-rw-r--r--net/freeswitch/Makefile6
-rw-r--r--net/frr9/Makefile2
-rw-r--r--net/libwebsockets/Makefile2
-rw-r--r--net/minidlna/Makefile5
-rw-r--r--ports-mgmt/pkgcompare/Makefile5
-rw-r--r--science/orthanc-webviewer/Makefile5
-rw-r--r--science/py-tensorflow/Makefile3
-rw-r--r--security/nss/Makefile5
-rw-r--r--security/strongswan/Makefile2
-rw-r--r--sysutils/fastfetch/Makefile2
-rw-r--r--textproc/mandoc/Makefile2
-rw-r--r--textproc/refdb/Makefile2
-rw-r--r--www/deno/Makefile3
-rw-r--r--www/lighttpd/Makefile4
-rw-r--r--www/node22/Makefile3
-rw-r--r--www/node24/Makefile3
-rw-r--r--www/node26/Makefile3
46 files changed, 65 insertions, 96 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile
index 545def58610c..5eebb933d4df 100644
--- a/audio/audacity/Makefile
+++ b/audio/audacity/Makefile
@@ -29,14 +29,14 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libsndfile.so:audio/libsndfile \
libsord-0.so:devel/sord \
libsoxr.so:audio/libsoxr \
- libsqlite3.so:databases/sqlite3 \
libsratom-0.so:audio/sratom \
libsuil-0.so:audio/suil \
libuuid.so:misc/libuuid \
libwavpack.so:audio/wavpack
USES= cmake compiler:c++20-lang cpe desktop-file-utils \
- gettext-runtime gnome python:build pkgconfig shared-mime-info
+ gettext-runtime gnome python:build pkgconfig shared-mime-info \
+ sqlite
CPE_VENDOR= audacityteam
USE_GITHUB= yes
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 99dda7db972e..b3b5d8db3b40 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -180,7 +180,7 @@ ISO9660_LIB_DEPENDS= libiso9660.so:sysutils/libcdio
# Database plugins
SQLITE3_MESON_ENABLED= sqlite
-SQLITE3_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE3_USES= sqlite
PROXYDB_MESON_ENABLED= libmpdclient
PROXYDB_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient
diff --git a/biology/gcta/Makefile b/biology/gcta/Makefile
index d401d36e5f5b..2db077e359fb 100644
--- a/biology/gcta/Makefile
+++ b/biology/gcta/Makefile
@@ -15,10 +15,9 @@ BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
spectra>0:math/spectra
LIB_DEPENDS= libgsl.so:math/gsl \
libopenblas.so:math/openblas \
- libsqlite3.so:databases/sqlite3 \
libzstd.so:archivers/zstd
-USES= cmake eigen:3 localbase:ldflags
+USES= cmake eigen:3 localbase:ldflags sqlite
USE_GITHUB= yes
GH_ACCOUNT= jianyangqt
diff --git a/biology/ncbi-blast+/Makefile b/biology/ncbi-blast+/Makefile
index f3384dd4dd2c..37dd83488ed8 100644
--- a/biology/ncbi-blast+/Makefile
+++ b/biology/ncbi-blast+/Makefile
@@ -26,13 +26,13 @@ LIB_DEPENDS= libdw.so:devel/elfutils \
liblzo2.so:archivers/lzo2 \
libnghttp2.so:www/libnghttp2 \
libpcre2-8.so:devel/pcre2 \
- libsqlite3.so:databases/sqlite3 \
libuv.so:devel/libuv \
libzstd.so:archivers/zstd
RUN_DEPENDS= p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \
p5-JSON>=0:converters/p5-JSON
-USES= compiler:c++14-lang gmake localbase:ldflags perl5 python shebangfix
+USES= compiler:c++14-lang gmake localbase:ldflags perl5 python \
+ shebangfix sqlite
USE_LDCONFIG= ${PREFIX}/lib/ncbi-tools++
SHEBANG_FILES= src/app/blast/cleanup-blastdb-volumes.py \
diff --git a/chinese/ibus-libpinyin/Makefile b/chinese/ibus-libpinyin/Makefile
index 99184e58d88e..e896fd3835d1 100644
--- a/chinese/ibus-libpinyin/Makefile
+++ b/chinese/ibus-libpinyin/Makefile
@@ -11,11 +11,10 @@ WWW= https://github.com/libpinyin/ibus-libpinyin
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
- libibus-1.0.so:textproc/ibus \
+LIB_DEPENDS= libibus-1.0.so:textproc/ibus \
libpinyin.so:chinese/libpinyin
-USES= compiler:c++11-lib gmake gnome python pkgconfig gettext
+USES= compiler:c++11-lib gmake gnome python pkgconfig gettext sqlite
USE_GNOME= glib20
GLIB_SCHEMAS= com.github.libpinyin.ibus-libpinyin.gschema.xml
diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile
index e7566bbe8cd9..68e98e64f812 100644
--- a/chinese/ibus-pinyin/Makefile
+++ b/chinese/ibus-pinyin/Makefile
@@ -12,11 +12,10 @@ LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyxdg>0:devel/py-pyxdg@${PY_FLAVOR} \
${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:textproc/ibus
LIB_DEPENDS= libpyzy-1.0.so:chinese/pyzy \
- libibus-1.0.so:textproc/ibus \
- libsqlite3.so:databases/sqlite3
+ libibus-1.0.so:textproc/ibus
USES= autoreconf compiler:c++11-lib gettext gmake gnome libtool \
- pkgconfig python
+ pkgconfig python sqlite
USE_GITHUB= yes
GH_ACCOUNT= ibus
USE_GNOME= glib20 intltool
diff --git a/chinese/libcangjie/Makefile b/chinese/libcangjie/Makefile
index eb8bbad94779..5f8d9f28c3db 100644
--- a/chinese/libcangjie/Makefile
+++ b/chinese/libcangjie/Makefile
@@ -11,11 +11,10 @@ WWW= https://github.com/Cangjians/libcangjie
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
- libfreetype.so:print/freetype2 \
+LIB_DEPENDS= libfreetype.so:print/freetype2 \
libdbus-1.so:devel/dbus
-USES= autoreconf gmake libtool localbase pkgconfig sqlite xorg
+USES= autoreconf gmake libtool localbase pkgconfig sqlite xorg sqlite
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_XORG= xi
diff --git a/chinese/pyzy/Makefile b/chinese/pyzy/Makefile
index e50f0f52b868..05b18eb57734 100644
--- a/chinese/pyzy/Makefile
+++ b/chinese/pyzy/Makefile
@@ -9,10 +9,8 @@ WWW= https://github.com/pyzy/pyzy
LICENSE= LGPL21
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-
USES= autoreconf compiler:c++11-lang gettext-runtime gmake gnome \
- libtool pkgconfig python:build shebangfix
+ libtool pkgconfig python:build shebangfix sqlite
SHEBANG_FILES= data/db/android/create_db.py
USE_GITHUB= yes
GH_TAGNAME= 6d9c3cd
diff --git a/databases/libdrizzle/Makefile b/databases/libdrizzle/Makefile
index adbc14ed82e3..9784e1b54d91 100644
--- a/databases/libdrizzle/Makefile
+++ b/databases/libdrizzle/Makefile
@@ -11,13 +11,11 @@ WWW= https://launchpad.net/libdrizzle
LICENSE= BSD3CLAUSE
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-
OPTIONS_DEFINE= DOXYGEN EXAMPLES
OPTIONS_SUB= yes
GNU_CONFIGURE= yes
-USES= gmake libtool
+USES= gmake libtool sqlite
CONFIGURE_ARGS+=--enable-libsqlite3
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
diff --git a/databases/pgloader3/Makefile b/databases/pgloader3/Makefile
index 27267a4b5564..c31224a3a56f 100644
--- a/databases/pgloader3/Makefile
+++ b/databases/pgloader3/Makefile
@@ -143,11 +143,10 @@ WWW= https://pgloader.io
LICENSE= PostgreSQL
BUILD_DEPENDS= sbcl:lang/sbcl
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
- libtdsodbc.so:databases/freetds \
+LIB_DEPENDS= libtdsodbc.so:databases/freetds \
libzstd.so:archivers/zstd
-USES= gmake
+USES= gmake sqlite
MY_QLB_VER= version-2015-01-28
MY_QL_VER= version-2021-02-13
MY_QL_SW= build/quicklisp/dists/quicklisp/software
diff --git a/databases/py-sqlite3/Makefile b/databases/py-sqlite3/Makefile
index dd03dca468d5..2c097b3a9a19 100644
--- a/databases/py-sqlite3/Makefile
+++ b/databases/py-sqlite3/Makefile
@@ -15,9 +15,8 @@ LICENSE_FILE= ${WRKDIR}/Python-${DISTVERSION}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-USES= compiler:c11 python tar:xz
+USES= compiler:c11 python sqlite tar:xz
USE_PYTHON= allflavors autoplist pep517
DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_BASESUFFIX}/distinfo
diff --git a/databases/rubygem-do_sqlite3/Makefile b/databases/rubygem-do_sqlite3/Makefile
index c0878d8310ce..e9c491595440 100644
--- a/databases/rubygem-do_sqlite3/Makefile
+++ b/databases/rubygem-do_sqlite3/Makefile
@@ -7,10 +7,9 @@ MAINTAINER= voldern@hoeggen.net
COMMENT= Ruby DataObjects driver to the SQLite DB engine version 3
WWW= https://rubygems.org/gems/do_sqlite3
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
RUN_DEPENDS= rubygem-data_objects>=0.10.17:databases/rubygem-data_objects
-USES= gem
+USES= gem sqlite
CONFIGURE_ARGS= --with-sqlite3-dir=${LOCALBASE}
diff --git a/databases/sqlclient/Makefile b/databases/sqlclient/Makefile
index c0d2106d39f2..1d36fe032a92 100644
--- a/databases/sqlclient/Makefile
+++ b/databases/sqlclient/Makefile
@@ -10,10 +10,9 @@ COMMENT= Lightweight database abstraction layer
LICENSE= LGPL21
-LIB_DEPENDS= libPerformance.so:devel/performance \
- libsqlite3.so:databases/sqlite3
+LIB_DEPENDS= libPerformance.so:devel/performance
-USES= gnustep mysql pgsql
+USES= gnustep mysql pgsql sqlite
USE_GNUSTEP= base build
GNU_CONFIGURE= yes
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
diff --git a/databases/sqlite-jdbc/Makefile b/databases/sqlite-jdbc/Makefile
index ae682f08c044..c09e1dd7a5cf 100644
--- a/databases/sqlite-jdbc/Makefile
+++ b/databases/sqlite-jdbc/Makefile
@@ -13,9 +13,8 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${JAVAJARDIR}/slf4j-api.jar:devel/slf4j
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-USES= gmake java:build
+USES= gmake java:build sqlite
USE_GITHUB= yes
GH_ACCOUNT= xerial
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index d9f37963e565..1b260c69dbe9 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -102,8 +102,8 @@ ORACLE_CONFIGURE_ENABLE= oracle
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE3}
-LIB_DEPENDS+= libgdbm.so:databases/gdbm \
- libsqlite3.so:databases/sqlite3
+LIB_DEPENDS+= libgdbm.so:databases/gdbm
+USES+= sqlite
CONFIGURE_ARGS+= --with-gdbm-prefix="${LOCALBASE}" \
--with-sqlite-prefix="${LOCALBASE}"
TOSTRIP+= libexec/sqlrelay/sqlrconnection_sqlite.so
diff --git a/databases/tcl-sqlite3/Makefile b/databases/tcl-sqlite3/Makefile
index da4081b0a0f1..3281c53ad3d3 100644
--- a/databases/tcl-sqlite3/Makefile
+++ b/databases/tcl-sqlite3/Makefile
@@ -11,9 +11,7 @@ WWW= https://www.sqlite.org/
LICENSE= PD
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-
-USES= tcl:tea
+USES= sqlite tcl:tea
MAKE_ENV+= STRIPPROG=${STRIP_CMD}
diff --git a/devel/llbuild/Makefile b/devel/llbuild/Makefile
index ba3077f90cd8..4b3f2f5b4962 100644
--- a/devel/llbuild/Makefile
+++ b/devel/llbuild/Makefile
@@ -13,9 +13,7 @@ LICENSE= APACHE20 BSD3CLAUSE NCSA
LICENSE_COMB= multi
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.txt
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-
-USES= cmake
+USES= cmake sqlite
USE_GITHUB= yes
GH_ACCOUNT= apple
diff --git a/games/minetestmapper/Makefile b/games/minetestmapper/Makefile
index a7776c5d6f1a..dfcd01890dec 100644
--- a/games/minetestmapper/Makefile
+++ b/games/minetestmapper/Makefile
@@ -10,10 +10,9 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgd.so:graphics/gd \
- libsqlite3.so:databases/sqlite3 \
libzstd.so:archivers/zstd
-USES= cmake compiler:c11 pkgconfig
+USES= cmake compiler:c11 pkgconfig sqlite
USE_GITHUB= yes
GH_ACCOUNT= minetest
diff --git a/irc/anope-devel/Makefile b/irc/anope-devel/Makefile
index 5b63b6fcc80b..8fa43d6baba1 100644
--- a/irc/anope-devel/Makefile
+++ b/irc/anope-devel/Makefile
@@ -46,7 +46,7 @@ OPENSSL_USES= ssl
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
-SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE_USES= sqlite
XMLRPC_LIB_DEPENDS= libxmlrpc.so:net/xmlrpc-c
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
diff --git a/lang/puffin/Makefile b/lang/puffin/Makefile
index 63810bd6a498..fad781629ee5 100644
--- a/lang/puffin/Makefile
+++ b/lang/puffin/Makefile
@@ -13,10 +13,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/nim/bin/nim:lang/nim
LIB_DEPENDS= libsodium.so:security/libsodium \
- libsqlite3.so:databases/sqlite3 \
libzstd.so:archivers/zstd
-USES= gmake pkgconfig ssl
+USES= gmake pkgconfig ssl sqlite
MAKE_ARGS= AWKTUA_WITH_TRACE=1 \
MANDIR=${PREFIX}/share/man \
diff --git a/lang/snobol4/Makefile b/lang/snobol4/Makefile
index 5439b2c5ae07..5a75fa3b07e6 100644
--- a/lang/snobol4/Makefile
+++ b/lang/snobol4/Makefile
@@ -46,6 +46,6 @@ SQLITE3_DESC= SQLite version 3 module
DOCS_CONFIGURE_WITH= docs
FFI_LIB_DEPENDS= libffi.so:devel/libffi
-SQLITE3_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE3_USES= sqlite
.include <bsd.port.mk>
diff --git a/math/heyoka/Makefile b/math/heyoka/Makefile
index 15efdf011b82..0aef4da23ca0 100644
--- a/math/heyoka/Makefile
+++ b/math/heyoka/Makefile
@@ -18,14 +18,13 @@ LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \
libmp++.so:math/mppp \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr \
- libsqlite3.so:databases/sqlite3 \
libtbb.so:devel/onetbb \
libsleef.so:math/sleef \
libspdlog.so:devel/spdlog
TEST_DEPENDS= xtensor>0:math/xtensor \
xtensor-blas>0:math/xtensor-blas
-USES= cmake:testing compiler:c++20-lang llvm:min=18,build,run ssl
+USES= cmake:testing compiler:c++20-lang llvm:min=18,build,run sqlite ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/net-im/dino/Makefile b/net-im/dino/Makefile
index 01c2f062be4e..26a9687fc894 100644
--- a/net-im/dino/Makefile
+++ b/net-im/dino/Makefile
@@ -21,12 +21,11 @@ LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \
libharfbuzz.so:print/harfbuzz \
libicuuc.so:devel/icu \
libsoup-3.0.so:devel/libsoup3 \
- libsqlite3.so:databases/sqlite3 \
libsrtp2.so:net/libsrtp2 \
libvulkan.so:graphics/vulkan-loader
USES= meson cpe desktop-file-utils gettext-tools gnome localbase \
- ninja pkgconfig vala:build
+ ninja pkgconfig sqlite vala:build
USE_GITHUB= yes
diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile
index 740a25e1d9b3..cb7f91e96098 100644
--- a/net-im/libpurple/Makefile
+++ b/net-im/libpurple/Makefile
@@ -152,7 +152,7 @@ CONFIGURE_ARGS+=--disable-idn
.endif
.if ${PORT_OPTIONS:MCAP}
-LIB_DEPENDS+= libsqlite3.so:databases/sqlite3
+USES+= sqlite
CONFIGURE_ARGS+=--enable-cap
PLIST_SUB+= CAP=""
.else
diff --git a/net-mgmt/andwatch/Makefile b/net-mgmt/andwatch/Makefile
index 05fc66e19af6..458faa30d378 100644
--- a/net-mgmt/andwatch/Makefile
+++ b/net-mgmt/andwatch/Makefile
@@ -9,10 +9,9 @@ WWW= https://github.com/dennypage/andwatch
LICENSE= BSD2CLAUSE
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
- libcurl.so:ftp/curl
+LIB_DEPENDS= libcurl.so:ftp/curl
-USES= localbase:ldflags
+USES= localbase:ldflags sqlite
USE_GITHUB= yes
GH_ACCOUNT= dennypage
diff --git a/net-mgmt/seafile-gui/Makefile b/net-mgmt/seafile-gui/Makefile
index cabad8f6ddc6..6e0289e7b411 100644
--- a/net-mgmt/seafile-gui/Makefile
+++ b/net-mgmt/seafile-gui/Makefile
@@ -13,12 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsearpc.so:devel/libsearpc \
libseafile.so:net-mgmt/seafile-client \
- libsqlite3.so:databases/sqlite3 \
libjansson.so:devel/jansson \
libevent.so:devel/libevent \
libuuid.so:misc/libuuid
-USES= compiler:c++11-lang cmake gl gnome pkgconfig qt:6 shebangfix ssl
+USES= compiler:c++11-lang cmake gl gnome pkgconfig qt:6 shebangfix \
+ sqlite ssl
SHEBANG_FILES= extensions/*.sh scripts/*.sh fsplugin/*.sh \
scripts/*.py
diff --git a/net-mgmt/uptime-kuma/Makefile b/net-mgmt/uptime-kuma/Makefile
index 33ffd80a60b1..d087736131f7 100644
--- a/net-mgmt/uptime-kuma/Makefile
+++ b/net-mgmt/uptime-kuma/Makefile
@@ -20,9 +20,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/npm:www/npm \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
esbuild:devel/esbuild
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-USES= gmake nodejs:lts,build,run python:build
+USES= gmake nodejs:lts,build,run python:build sqlite
USE_GITHUB= yes
GH_ACCOUNT= louislam
USE_RC_SUBR= uptimekuma
diff --git a/net/csync2/Makefile b/net/csync2/Makefile
index 456e63d809ab..df70b7bafa1b 100644
--- a/net/csync2/Makefile
+++ b/net/csync2/Makefile
@@ -11,10 +11,9 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgnutls.so:security/gnutls \
- librsync.so:net/librsync \
- libsqlite3.so:databases/sqlite3
+ librsync.so:net/librsync
-USES= autoreconf cpe pkgconfig shebangfix
+USES= autoreconf cpe pkgconfig shebangfix sqlite
CPE_VENDOR= linbit
USE_GITHUB= yes
GH_ACCOUNT= LINBIT
diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
index 326cfdfe87e8..501d653097be 100644
--- a/net/freeradius3/Makefile
+++ b/net/freeradius3/Makefile
@@ -146,7 +146,7 @@ RUBY_CONFIGURE_WITH= rlm_ruby
RUBY_USES= ruby
RUBY_IGNORE= with ruby support leaks memory, breaks signal handling. Please disable RUBY support
SQLITE3_CONFIGURE_WITH= rlm_sql_sqlite
-SQLITE3_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE3_USES= sqlite
UDPFROMTO_CONFIGURE_OFF= --without-udpfromto
UNBOUND_CONFIGURE_WITH= rlm_unbound
UNBOUND_LIB_DEPENDS= libunbound.so:dns/unbound
diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index c09a912a8d9b..bf2c45763a41 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -18,8 +18,7 @@ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
BUILD_DEPENDS= gdiff:textproc/diffutils \
doxygen:devel/doxygen \
erlang>=21.3:lang/erlang
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
- libcurl.so:ftp/curl \
+LIB_DEPENDS= libcurl.so:ftp/curl \
libavformat.so:multimedia/ffmpeg \
libpcre2-8.so:devel/pcre2 \
libspeexdsp.so:audio/speexdsp \
@@ -39,7 +38,8 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
RUN_DEPENDS= erlang>=21.3:lang/erlang
USES= compiler:c11 cpe gmake iconv jpeg libedit autoreconf \
- libtool lua:53 openal perl5 pkgconfig shebangfix ssl tar:xz
+ libtool lua:53 openal perl5 pkgconfig shebangfix ssl \
+ sqlite tar:xz
JAVA_VERSION= 11
USE_LDCONFIG= yes
diff --git a/net/frr9/Makefile b/net/frr9/Makefile
index 3f6eb5e8cfc3..89fde58a5998 100644
--- a/net/frr9/Makefile
+++ b/net/frr9/Makefile
@@ -112,7 +112,7 @@ CONFIGURE_ARGS= --enable-user=frr \
BACKTRACE_LIB_DEPENDS= libunwind.so:devel/libunwind
BACKTRACE_CONFIGURE_ENABLE= backtrace
-CONFIGROLLBACKS_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+CONFIGROLLBACKS_USES= sqlite
CONFIGROLLBACKS_CONFIGURE_ENABLE= config-rollbacks
DATACENTER_CONFIGURE_ENABLE= datacenter
FPM_CONFIGURE_ENABLE= fpm
diff --git a/net/libwebsockets/Makefile b/net/libwebsockets/Makefile
index a07316f2f2fa..10ae765f9c8f 100644
--- a/net/libwebsockets/Makefile
+++ b/net/libwebsockets/Makefile
@@ -72,7 +72,7 @@ PLUGINS_CMAKE_BOOL_OFF= DISABLE_WERROR
SECURE_STREAMS_CMAKE_BOOL= LWS_WITH_SECURE_STREAMS \
LWS_WITH_SECURE_STREAMS_PROXY_API
SOCKS_CMAKE_BOOL= LWS_WITH_SOCKS5
-SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE_USES= sqlite
SQLITE_CMAKE_BOOL= LWS_WITH_SQLITE3
WEBSERVER_IMPLIES= LIBUV PEERLIMITS PLUGINS
WEBSERVER_CMAKE_BOOL= LWS_WITH_LWSWS
diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile
index ca8ede203669..e9ae3c507c32 100644
--- a/net/minidlna/Makefile
+++ b/net/minidlna/Makefile
@@ -10,8 +10,7 @@ WWW= https://minidlna.sourceforge.net
LICENSE= GPLv2
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
- libexif.so:graphics/libexif \
+LIB_DEPENDS= libexif.so:graphics/libexif \
libid3tag.so:audio/libid3tag \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
@@ -21,7 +20,7 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-db-path=/var/db/minidlna \
--with-os-url="http://www.FreeBSD.org"
-USES= autoreconf cpe gettext-tools iconv jpeg localbase
+USES= autoreconf cpe gettext-tools iconv jpeg localbase sqlite
CPE_VENDOR= minidlna_project
diff --git a/ports-mgmt/pkgcompare/Makefile b/ports-mgmt/pkgcompare/Makefile
index 74b6a5b4227e..0fb1d66672bf 100644
--- a/ports-mgmt/pkgcompare/Makefile
+++ b/ports-mgmt/pkgcompare/Makefile
@@ -10,8 +10,9 @@ WWW= https://github.com/waitman/pkg-compare
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libpkg.so:${PKG_ORIGIN} \
- libsqlite3.so:databases/sqlite3
+LIB_DEPENDS= libpkg.so:${PKG_ORIGIN}
+
+USES= sqlite
USE_GITHUB= yes
GH_ACCOUNT= waitman
diff --git a/science/orthanc-webviewer/Makefile b/science/orthanc-webviewer/Makefile
index 523265ad6e37..e6e43011cd29 100644
--- a/science/orthanc-webviewer/Makefile
+++ b/science/orthanc-webviewer/Makefile
@@ -27,11 +27,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc \
googletest>0:devel/googletest
LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \
- libjsoncpp.so:devel/jsoncpp \
- libsqlite3.so:databases/sqlite3
+ libjsoncpp.so:devel/jsoncpp
RUN_DEPENDS= Orthanc:science/orthanc
-USES= cmake localbase python:build
+USES= cmake localbase python:build sqlite
USE_LDCONFIG= ${DATADIR}/plugins
CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-${ORTHANC_VER}/OrthancFramework/Sources \
diff --git a/science/py-tensorflow/Makefile b/science/py-tensorflow/Makefile
index a138fcd939cb..d006633a521c 100644
--- a/science/py-tensorflow/Makefile
+++ b/science/py-tensorflow/Makefile
@@ -30,7 +30,6 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio-tools>=1.22.0:devel/py-grpcio-tools
LIB_DEPENDS= libpng.so:graphics/png \
libsnappy.so:archivers/snappy \
libabsl_base.so:devel/abseil \
- libsqlite3.so:databases/sqlite3 \
libicuio.so:devel/icu \
libjsoncpp.so:devel/jsoncpp \
libprotobuf.so:devel/protobuf \
@@ -57,7 +56,7 @@ RUN_DEPENDS= pybind11>=2.6.2:devel/pybind11 \
${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.3.1:math/py-ml-dtypes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}opt-einsum>=3.3.0:math/py-opt-einsum@${PY_FLAVOR}
-USES= java jpeg perl5 python shebangfix ssl
+USES= java jpeg perl5 python shebangfix sqlite ssl
JAVA_VERSION= 21
JAVA_VENDOR= openjdk
USE_CXXSTD= c++17
diff --git a/security/nss/Makefile b/security/nss/Makefile
index e4c40b52fe06..9d94b8901dbd 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -10,11 +10,10 @@ WWW= https://firefox-source-docs.mozilla.org/security/nss/index.html
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libnspr4.so:devel/nspr \
- libsqlite3.so:databases/sqlite3
+LIB_DEPENDS= libnspr4.so:devel/nspr
TEST_DEPENDS= bash:shells/bash
-USES= cpe gmake perl5
+USES= cpe gmake perl5 sqlite
WRKSRC_SUBDIR= nss
diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile
index c29f7125f3a2..f465c17bc88b 100644
--- a/security/strongswan/Makefile
+++ b/security/strongswan/Makefile
@@ -124,7 +124,7 @@ PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vici>0:security/py-vici@${PY_FLAVOR}
PYTHON_USES= python
SMP_LIB_DEPENDS= libxml2.so:textproc/libxml2
SMP_CONFIGURE_ON= --enable-smp
-SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+SQLITE_USES= sqlite
SQLITE_CONFIGURE_ON= --enable-sqlite
STROKE_CONFIGURE_ON= --enable-stroke
SWANCTL_IMPLIES= VICI
diff --git a/sysutils/fastfetch/Makefile b/sysutils/fastfetch/Makefile
index 95f87211d5f4..4d1d23f2e51c 100644
--- a/sysutils/fastfetch/Makefile
+++ b/sysutils/fastfetch/Makefile
@@ -54,7 +54,7 @@ DCONF_CMAKE_BOOL= ENABLE_DCONF
DCONF_BUILD_DEPENDS= ${LOCALBASE}/lib/libdconf.so:devel/dconf
SQLITE3_CMAKE_BOOL= ENABLE_SQLITE3
-SQLITE3_BUILD_DEPENDS= ${LOCALBASE}/lib/libsqlite3.so:databases/sqlite3
+SQLITE3_USES= sqlite
IMAGEMAGICK_CMAKE_BOOL= ENABLE_IMAGEMAGICK7
IMAGEMAGICK_USES= magick:7,build
diff --git a/textproc/mandoc/Makefile b/textproc/mandoc/Makefile
index e4741e4bcda4..2dfb4b1cb9e7 100644
--- a/textproc/mandoc/Makefile
+++ b/textproc/mandoc/Makefile
@@ -12,7 +12,7 @@ WWW= https://mandoc.bsd.lv/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libsqlite3.so:databases/sqlite3
+USES= sqlite
EXAMPLESDIR= ${PREFIX}/share/examples/mandoc
diff --git a/textproc/refdb/Makefile b/textproc/refdb/Makefile
index 6a18e9245f97..fa9de1933255 100644
--- a/textproc/refdb/Makefile
+++ b/textproc/refdb/Makefile
@@ -69,7 +69,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/dbd:databases/libdbi-drivers
CONFIGURE_ARGS+= --with-db-server=pgsql
.elif ${PORT_OPTIONS:MSQLITE}
-LIB_DEPENDS+= libsqlite3.so:databases/sqlite3
+USES+= sqlite
# If libdbi-drivers has been built without SQLite driver, abort
.if exists(${LOCALBASE}/lib/dbd) && !exists(${LOCALBASE}/lib/dbd/libdbdsqlite3.so)
IGNORE= rebuild databases/libdbi-drivers with SQLite support
diff --git a/www/deno/Makefile b/www/deno/Makefile
index c9b7001d8006..282c332c4412 100644
--- a/www/deno/Makefile
+++ b/www/deno/Makefile
@@ -19,11 +19,10 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdeflate.so:archivers/libdeflate \
libffi.so:devel/libffi \
liblcms2.so:graphics/lcms2 \
- libsqlite3.so:databases/sqlite3 \
libzstd.so:archivers/zstd
USES= cargo cpe gmake llvm:min=21,build localbase:ldflags ninja:build \
- pkgconfig python:build
+ pkgconfig python:build sqlite
USE_GITHUB= yes
GH_ACCOUNT= denoland
GH_TUPLE= denoland:deno_lsp_benchdata:a787434:denolsp/tests/bench/testdata/lsp_benchdata \
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index dff9e29a243c..8dd42fb30467 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -73,8 +73,8 @@ OPENSSL_CMAKE_BOOL= WITH_OPENSSL
SPAWNFCGI_RUN_DEPENDS= spawn-fcgi:www/spawn-fcgi
WEBDAV_CMAKE_BOOL= WITH_WEBDAV_LOCKS \
WITH_WEBDAV_PROPS
-WEBDAV_LIB_DEPENDS= libxml2.so:textproc/libxml2 \
- libsqlite3.so:databases/sqlite3
+WEBDAV_LIB_DEPENDS= libxml2.so:textproc/libxml2
+WEBDAV_USES= sqlite
WOLFSSL_CMAKE_BOOL= WITH_WOLFSSL
WOLFSSL_LIB_DEPENDS= libwolfssl.so:security/wolfssl
ZSTD_CMAKE_BOOL= WITH_ZSTD
diff --git a/www/node22/Makefile b/www/node22/Makefile
index de23908942bc..697d6b282a2f 100644
--- a/www/node22/Makefile
+++ b/www/node22/Makefile
@@ -26,13 +26,12 @@ LIB_DEPENDS= libada.so:devel/libada \
libnghttp3.so:www/libnghttp3 \
libngtcp2.so:net/libngtcp2 \
libsimdjson.so:devel/simdjson \
- libsqlite3.so:databases/sqlite3 \
libuv.so:devel/libuv \
libuvwasi.so:devel/uvwasi \
libzstd.so:archivers/zstd
RUN_DEPENDS= corepack>=0:www/corepack
-USES= compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix tar:xz
+USES= compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz
CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-ada \
diff --git a/www/node24/Makefile b/www/node24/Makefile
index 02fc621fa7b1..f1c501ed3af5 100644
--- a/www/node24/Makefile
+++ b/www/node24/Makefile
@@ -29,13 +29,12 @@ LIB_DEPENDS= libada.so:devel/libada \
libnghttp3.so:www/libnghttp3 \
libngtcp2.so:net/libngtcp2 \
libsimdjson.so:devel/simdjson \
- libsqlite3.so:databases/sqlite3 \
libuv.so:devel/libuv \
libuvwasi.so:devel/uvwasi \
libzstd.so:archivers/zstd
RUN_DEPENDS= corepack>=0:www/corepack
-USES= compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix tar:xz
+USES= compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz
# merve stays bundled: devel/merve links the system libsimdutf, while node
# bundles and exports its own simdutf. rtld binds libsimdutf's internal calls
diff --git a/www/node26/Makefile b/www/node26/Makefile
index 00647949aa7b..3edb2eb99a78 100644
--- a/www/node26/Makefile
+++ b/www/node26/Makefile
@@ -33,13 +33,12 @@ LIB_DEPENDS= libada.so:devel/libada \
libnghttp3.so:www/libnghttp3 \
libngtcp2.so:net/libngtcp2 \
libsimdjson.so:devel/simdjson \
- libsqlite3.so:databases/sqlite3 \
libuv.so:devel/libuv \
libuvwasi.so:devel/uvwasi \
libzstd.so:archivers/zstd
RUN_DEPENDS= corepack>=0:www/corepack
-USES= cargo compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix tar:xz
+USES= cargo compiler:c++20-lang gmake localbase pkgconfig python:build shebangfix sqlite tar:xz
# merve stays bundled: devel/merve links the system libsimdutf, while node
# bundles and exports its own simdutf. rtld binds libsimdutf's internal calls