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: riastradh
Date: Fri Apr 4 21:29:14 UTC 2025
Modified Files:
pkgsrc/databases/sqlite3: Makefile
Log Message:
databases/sqlite3: Fix cross-build.
Conditional on USE_CROSS_COMPILE = yes, so no change to native build.
Didn't cross-build without this, so no need for revbump.
To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 pkgsrc/databases/sqlite3/Makefile
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.166 pkgsrc/databases/sqlite3/Makefile:1.167
--- pkgsrc/databases/sqlite3/Makefile:1.166 Fri Apr 4 14:05:07 2025
+++ pkgsrc/databases/sqlite3/Makefile Fri Apr 4 21:29:14 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.166 2025/04/04 14:05:07 jperkin Exp $
+# $NetBSD: Makefile,v 1.167 2025/04/04 21:29:14 riastradh Exp $
.include "Makefile.common"
@@ -24,6 +24,12 @@ PKGCONFIG_OVERRIDE+= sqlite3.pc.in
.include "../../mk/bsd.prefs.mk"
+.if ${USE_CROSS_COMPILE:tl} == "yes"
+CONFIGURE_ENV+= CC_FOR_BUILD=${TOOLS_CMD.native-cc:Q}
+TOOLS_CREATE+= native-cc
+TOOLS_SCRIPT.native-cc= exec ${NATIVE_CC} "$$@"
+.endif
+
# sqlite3 compile options are documented at:
#
# https://www.sqlite.org/compile.html
Home |
Main Index |
Thread Index |
Old Index