[Git][haskell-team/DHG_packages][master] aeson: update threaded-runtime check

Clint Adams (@clint) gitlab at salsa.debian.org
Fri Feb 27 13:03:37 GMT 2026



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
84abf54f by Clint Adams at 2026-02-27T08:03:11-05:00
aeson: update threaded-runtime check

- - - - -


2 changed files:

- p/haskell-aeson/debian/changelog
- p/haskell-aeson/debian/rules


Changes:

=====================================
p/haskell-aeson/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-aeson (2.2.3.0-3) unstable; urgency=medium
+
+  * Fix threaded-runtime check.
+
+ -- Clint Adams <clint at debian.org>  Fri, 27 Feb 2026 08:02:54 -0500
+
 haskell-aeson (2.2.3.0-2) unstable; urgency=medium
 
   * Add back and rebase patch for tests on 32-bit (Closes: #1053530)


=====================================
p/haskell-aeson/debian/rules
=====================================
@@ -1,7 +1,13 @@
 #!/usr/bin/make -f
 
+RTS_WAYS := $(shell ghc --info | grep -e 'RTS ways')
+
 export DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/bin/ghci || echo --flags=-th)
-export DEB_SETUP_GHC_CONFIGURE_ARGS += $(shell test -e /usr/lib/ghc/rts/libHSrts_thr.a || echo --flags=-threaded)
+
+ifeq (,$(filter $(RTS_WAYS),thr_dyn))
+export DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-threaded
+endif
+
 export DEB_ENABLE_TESTS = yes
 
 # haskell-aeson needs a lot of memory during compilation.



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/84abf54fba453e3122d3c9306fa20b17f92bfabc

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/84abf54fba453e3122d3c9306fa20b17f92bfabc
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/20260227/b88c5fef/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list