pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/micropython
Module Name: pkgsrc
Committed By: nia
Date: Thu Jun 18 15:11:26 UTC 2026
Added Files:
pkgsrc/lang/micropython: hacks.mk
Log Message:
micropython: Work around old NetBSD releases not having PTHREAD_STACK_MIN.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/micropython/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/lang/micropython/hacks.mk
diff -u /dev/null pkgsrc/lang/micropython/hacks.mk:1.1
--- /dev/null Thu Jun 18 15:11:26 2026
+++ pkgsrc/lang/micropython/hacks.mk Thu Jun 18 15:11:26 2026
@@ -0,0 +1,14 @@
+# $NetBSD: hacks.mk,v 1.1 2026/06/18 15:11:26 nia Exp $
+
+.if !defined(MICROPYTHON_HACKS_MK)
+MICROPYTHON_HACKS_MK= # defined
+
+### [Thu Jun 18 17:04:43 CEST 2026 : nia]
+### Older NetBSD versions do not define PTHREAD_STACK_MIN.
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+= pthread-stack-min
+CFLAGS.NetBSD+= -DPTHREAD_STACK_MIN=4096
+.endif
+
+.endif
Home |
Main Index |
Thread Index |
Old Index