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: schmonz
Date: Thu May 1 18:03:42 UTC 2025
Modified Files:
pkgsrc/databases/sqlite3: Makefile distinfo
Added Files:
pkgsrc/databases/sqlite3/patches: patch-autosetup_proj.tcl
Log Message:
sqlite3: fix Tiger build. Sequoia and NetBSD still package.
To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 pkgsrc/databases/sqlite3/Makefile
cvs rdiff -u -r1.211 -r1.212 pkgsrc/databases/sqlite3/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/sqlite3/patches/patch-autosetup_proj.tcl
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.169 pkgsrc/databases/sqlite3/Makefile:1.170
--- pkgsrc/databases/sqlite3/Makefile:1.169 Thu Apr 17 21:50:13 2025
+++ pkgsrc/databases/sqlite3/Makefile Thu May 1 18:03:42 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.169 2025/04/17 21:50:13 wiz Exp $
+# $NetBSD: Makefile,v 1.170 2025/05/01 18:03:42 schmonz Exp $
.include "Makefile.common"
@@ -62,9 +62,12 @@ TOOLS_SCRIPT.native-cc= exec ${NATIVE_CC
# Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
# and lacks the zone memory allocator
.if ${MACHINE_PLATFORM:MDarwin-[0-8].*-*}
-CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0
-CFLAGS+= -DSQLITE_WITHOUT_ZONEMALLOC
+CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0
+CFLAGS+= -DSQLITE_WITHOUT_ZONEMALLOC
.endif
+# Sufficiently old ld(1) only has -dylib_*_version; newer ld(1) still has them
+BUILDLINK_TRANSFORM.Darwin+= opt:-Wl,-compatibility_version:-Wl,-dylib_compatibility_version
+BUILDLINK_TRANSFORM.Darwin+= opt:-Wl,-current_version:-Wl,-dylib_current_version
### Performance optimizations
Index: pkgsrc/databases/sqlite3/distinfo
diff -u pkgsrc/databases/sqlite3/distinfo:1.211 pkgsrc/databases/sqlite3/distinfo:1.212
--- pkgsrc/databases/sqlite3/distinfo:1.211 Sun Mar 30 06:18:06 2025
+++ pkgsrc/databases/sqlite3/distinfo Thu May 1 18:03:42 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.211 2025/03/30 06:18:06 adam Exp $
+$NetBSD: distinfo,v 1.212 2025/05/01 18:03:42 schmonz Exp $
BLAKE2s (sqlite-autoconf-3490100.tar.gz) = 7aca8ebf5fa0d0c3fcc9182013969e923d67f7bc7bf457d0813061ff418fb3ba
SHA512 (sqlite-autoconf-3490100.tar.gz) = ace92f20fb13a28a8be0eb3560ebf79e71e882611108179b45abba6e77ec0964d75a96c1e187c0e5f883b83896fd44074ef244e1f589288b6354bc9db85223ca
Size (sqlite-autoconf-3490100.tar.gz) = 3226385 bytes
+SHA1 (patch-autosetup_proj.tcl) = 34c32f97beac4b6b00afca0350e469d20686e88a
Added files:
Index: pkgsrc/databases/sqlite3/patches/patch-autosetup_proj.tcl
diff -u /dev/null pkgsrc/databases/sqlite3/patches/patch-autosetup_proj.tcl:1.1
--- /dev/null Thu May 1 18:03:42 2025
+++ pkgsrc/databases/sqlite3/patches/patch-autosetup_proj.tcl Thu May 1 18:03:41 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-autosetup_proj.tcl,v 1.1 2025/05/01 18:03:41 schmonz Exp $
+
+Avoid -rpath on macOS: not needed on Sequoia and breaks linking on Tiger.
+
+--- autosetup/proj.tcl.orig 2025-05-01 17:49:03.458544462 +0000
++++ autosetup/proj.tcl
+@@ -947,6 +947,12 @@ proc proj-check-rpath {} {
+ define LDFLAGS_RPATH ""
+ set rc 0
+ }
++ switch -glob -- [get-define host] {
++ *-*-darwin* {
++ define LDFLAGS_RPATH ""
++ set rc 0
++ }
++ }
+ }
+ return $rc
+ }
Home |
Main Index |
Thread Index |
Old Index