Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2026 05:16:51 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05f092aadf23 - main - databases/sqlite3: Fix tcl flavor
Message-ID:  <6a152cc3.3d41c.e07dcd1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05f092aadf23fbb27747b537c58338fcff7dcd96

commit 05f092aadf23fbb27747b537c58338fcff7dcd96
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-26 05:16:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-26 05:16:46 +0000

    databases/sqlite3: Fix tcl flavor
    
    Reference:      https://github.com/sqlite/sqlite/commit/d961d49971f241652cff7628a22335ea85b237b8
                    https://github.com/sqlite/sqlite/commit/a3fcd7c79e827f98ac01fb83ee91848096fbb11c
---
 databases/sqlite3/Makefile  | 5 +++--
 databases/sqlite3/pkg-plist | 5 ++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 99241f3636ab..0c39220c32ba 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -51,6 +51,8 @@ INSTALL_TARGET=	tcl_install
 .endif
 TEST_TARGET=	test
 
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
+
 # The default numeric file permissions for newly created database files under unix.
 # If not specified, the default is 0644 which means that the files is globally
 # readable but only writable by the creator.
@@ -293,13 +295,12 @@ post-install-STRIP-on:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sqlite3 ${STAGEDIR}${PREFIX}/lib/libsqlite3.so
 .endif
 .if ${PORT_OPTIONS:MTCL}
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tcl${TCL_VER}/sqlite3/libtclsqlite3.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tcl${TCL_VER}/sqlite${PORTVERSION}/libsqlite${PORTVERSION}.so
 .endif
 
 post-install-TCL-on:
 	${INSTALL_PROGRAM} ${WRKSRC}/sqlite3_analyzer ${STAGEDIR}${PREFIX}/bin
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/man/mann
-	${INSTALL_MAN} ${WRKSRC}/autoconf/tea/doc/sqlite3.n ${STAGEDIR}${PREFIX}/share/man/mann/sqlite3.tcl${TCL_VER:S/.//g}.n
 .if ${PORT_OPTIONS:MEXAMPLES}
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/${SUB_FILES} ${WRKSRC}/contrib/sqlitecon.tcl ${STAGEDIR}${EXAMPLESDIR}
diff --git a/databases/sqlite3/pkg-plist b/databases/sqlite3/pkg-plist
index f41befab4069..bc79e5cbe45f 100644
--- a/databases/sqlite3/pkg-plist
+++ b/databases/sqlite3/pkg-plist
@@ -10,8 +10,7 @@
 %%NO_TEA%%lib/libsqlite3.so.%%DISTVERSION%%
 %%NO_TEA%%libdata/pkgconfig/sqlite3.pc
 %%NO_TEA%%share/man/man1/sqlite3.1.gz
-%%TCL%%share/man/mann/sqlite3.%%TCLSUF%%.n.gz
-%%TCL%%lib/%%TCLVER%%/sqlite3/libtclsqlite3.so
-%%TCL%%lib/%%TCLVER%%/sqlite3/pkgIndex.tcl
+%%TCL%%lib/%%TCLVER%%/sqlite%%PORTVERSION%%/libsqlite%%PORTVERSION%%.so
+%%TCL%%lib/%%TCLVER%%/sqlite%%PORTVERSION%%/pkgIndex.tcl
 %%TCL%%%%EXAMPLES%%share/examples/sqlite3/example.tcl
 %%TCL%%%%EXAMPLES%%share/examples/sqlite3/sqlitecon.tcl


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a152cc3.3d41c.e07dcd1>