git: 17468749f972 - main - databases/sqlite3: Pass --prefix to configure

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Tue, 23 Sep 2025 21:04:14 UTC
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17468749f972c51ae10e6bc95e3e9cbafa161af4

commit 17468749f972c51ae10e6bc95e3e9cbafa161af4
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-09-23 21:02:54 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-23 21:02:54 +0000

    databases/sqlite3: Pass --prefix to configure
    
    This is required to build with a non-default ${LOCALBASE}, otherwise,
    the build fails: firstly because it can't find libedit, and secondly
    because it tries to install into /usr/local instead of ${PREFIX}.
    
    PR:     288816
    Reviewed by:    vvd, arrowd
    Approved by:    maintainer (timeout, > 30 days)
    Differential Revision:  https://reviews.freebsd.org/D52632
---
 databases/sqlite3/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 0d66218dec05..e39b6d4525d3 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -38,7 +38,9 @@ USES=	libtool ncurses zip
 USE_LDCONFIG=	yes
 
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--linemacros --soname=legacy OPTIONS='${_OPTIONS}'
+CONFIGURE_ARGS+=	--prefix=${PREFIX} \
+			--linemacros \
+			--soname=legacy OPTIONS='${_OPTIONS}'
 # [The Chronicles of SONAME](https://sqlite.org/src/forumpost/5a3b44f510df8ded)
 # [Set features OPTIONS for autosetup configurator](https://msteveb.github.io/autosetup/)