[Git][haskell-team/DHG_packages][master] debian: tentative thr_dyn check fix
Clint Adams (@clint)
gitlab at salsa.debian.org
Sun Jan 4 20:28:08 GMT 2026
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
25407562 by Clint Adams at 2026-01-04T15:27:36-05:00
debian: tentative thr_dyn check fix
- - - - -
2 changed files:
- p/haskell-debian/debian/changelog
- p/haskell-debian/debian/rules
Changes:
=====================================
p/haskell-debian/debian/changelog
=====================================
@@ -1,7 +1,11 @@
haskell-debian (4.0.5-3) UNRELEASED; urgency=medium
+ [ Scott Talbert ]
* Build using dh-haskell
+ [ Clint Adams ]
+ * Update threading-support check for newer GHC.
+
-- Scott Talbert <swt at techie.net> Sun, 09 Nov 2025 21:11:47 -0500
haskell-debian (4.0.5-2) unstable; urgency=medium
=====================================
p/haskell-debian/debian/rules
=====================================
@@ -1,8 +1,13 @@
#!/usr/bin/make -f
+RTS_WAYS := (shell ghc --info | grep -e 'RTS ways')
+
DEB_BUILD_DEPENDENCIES = build-arch
export DEB_ENABLE_TESTS = yes
-export DEB_SETUP_GHC_CONFIGURE_ARGS=$(if $(wildcard /usr/lib/ghc/*/libHSrts_thr.a),,-f-threaded)
+
+ifneq (,$(filter $(RTS_WAYS),thr_dyn))
+export DEB_SETUP_GHC_CONFIGURE_ARGS=-f-threaded
+endif
%:
dh $@
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/25407562fedb5b95373f8931912c97d77ddae0c9
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/25407562fedb5b95373f8931912c97d77ddae0c9
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260104/816c6ca5/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list