pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/sqlite3



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Apr  4 14:05:07 UTC 2025

Modified Files:
        pkgsrc/databases/sqlite3: Makefile PLIST

Log Message:
sqlite3: Remove jimtcl dependency.

The sqlite3 autoconf distribution includes a bundled jimsh0 that is used to
bootstrap in the case of the host not providing a TCL implementation.  Simply
use that rather than depending on jimtcl, which is non-portable.

Fixes build on at least Solaris/illumos.  Tested on SmartOS, macOS, and NetBSD,
with macOS being of particular interest as it ships a native implementation of
tclsh so does not use the bootstrap version.

While here perform pkglint cleanup.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 pkgsrc/databases/sqlite3/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/sqlite3/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/sqlite3/Makefile
diff -u pkgsrc/databases/sqlite3/Makefile:1.165 pkgsrc/databases/sqlite3/Makefile:1.166
--- pkgsrc/databases/sqlite3/Makefile:1.165     Mon Mar 31 16:02:03 2025
+++ pkgsrc/databases/sqlite3/Makefile   Fri Apr  4 14:05:07 2025
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.165 2025/03/31 16:02:03 riastradh Exp $
+# $NetBSD: Makefile,v 1.166 2025/04/04 14:05:07 jperkin Exp $
 
 .include "Makefile.common"
 
 DISTNAME=      sqlite-autoconf-${SQLITE3_DISTVERSION}
 PKGNAME=       sqlite3-${SQLITE3_VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    databases
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,10 +12,6 @@ COMMENT=     SQL Database Engine in a C Libr
 
 .include "options.mk"
 
-# For autosetup use jimsh instead of tclsh, as tcl requires sqlite3.
-TOOL_DEPENDS+= jimtcl>0:../../lang/jimtcl
-CONFIGURE_ENV+=        autosetup_tclsh=${PREFIX}/bin/jimsh
-
 # Disable ccache; see autosetup/cc.tcl
 CONFIGURE_ENV+=        CCACHE=none
 
@@ -59,7 +55,7 @@ PKGCONFIG_OVERRIDE+=  sqlite3.pc.in
 
 # Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
 # and lacks the zone memory allocator
-.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+.if ${MACHINE_PLATFORM:MDarwin-[0-8].*-*}
 CFLAGS+=       -DSQLITE_ENABLE_LOCKING_STYLE=0
 CFLAGS+=       -DSQLITE_WITHOUT_ZONEMALLOC
 .endif

Index: pkgsrc/databases/sqlite3/PLIST
diff -u pkgsrc/databases/sqlite3/PLIST:1.7 pkgsrc/databases/sqlite3/PLIST:1.8
--- pkgsrc/databases/sqlite3/PLIST:1.7  Sun Mar 30 06:18:06 2025
+++ pkgsrc/databases/sqlite3/PLIST      Fri Apr  4 14:05:07 2025
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2025/03/30 06:18:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/04/04 14:05:07 jperkin Exp $
 bin/sqlite3
 include/sqlite3.h
 include/sqlite3ext.h
 lib/libsqlite3.a
+lib/libsqlite3.so
 lib/libsqlite3.so.0
 lib/libsqlite3.so.${PKGVERSION}
-lib/libsqlite3.so
 lib/pkgconfig/sqlite3.pc
 man/man1/sqlite3.1



Home | Main Index | Thread Index | Old Index