Created attachment 249286 [details] [PATCH] x11/hs-xmobar: Update to 0.47.4
I get => cabal/hinotify-0.4.1/hinotify-0.4.1.tar.gz is not in /usr/ports/x11/hs-xmobar/distinfo. => Either /usr/ports/x11/hs-xmobar/distinfo is out of date, or => cabal/hinotify-0.4.1/hinotify-0.4.1.tar.gz is spelled incorrectly. *** Error code 1 When trying to build with your patch. Haskell ports with OPTIONS are a bit complex. You first disable all options that affect USE_CABAL and do the usual make cabal-extract cabal-configure make-use-cabal route. Then you either manually fill OPT_USE_CABAL knobs or enable these options and then re-run cabal-configure and make-use-cabal to figure out appropriate values. This is clumsy, but I never got the time to automate this somehow.
Thank you for the kind and helpful explanation: this is exactly what I was to ask you about to learn how to build and advance all these haskell ports. I'll study this process for some time and then rework my patches and resend them later. Thank you once again! :)
Created attachment 249772 [details] [PATCH] x11/hs-xmobar: Update to 0.48
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=30f3da188925ff7f197fc8de376e20204e7f4d2c commit 30f3da188925ff7f197fc8de376e20204e7f4d2c Author: Andrey Korobkov <alster@vinterdalen.se> AuthorDate: 2024-04-06 18:45:43 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-04-06 19:31:37 +0000 x11/hs-xmobar: Update to 0.48 PR: 277793 x11/hs-xmobar/Makefile | 65 ++++++++++++++------------- x11/hs-xmobar/distinfo | 116 ++++++++++++++++++++++++++++-------------------- x11/hs-xmobar/pkg-descr | 8 ++-- 3 files changed, 107 insertions(+), 82 deletions(-)
Pushed, thanks!