Sunday, April 03, 2022

Re: removing libutil.so.15.1 and libX11.so.17.1 per sysclean(8) breaks xmonad(1)

On Sun, Apr 03, 2022 at 09:04:33PM +0100, Stuart Henderson wrote:
> [ dropping misc@ from CC list ]
>
> On 2022/04/03 11:25, Ashlen wrote:
> > With the previous emails in mind, I have a diff for the build script in
> > the ports tree if it would help. My xmonad.hs hardly changes these days.
> > If the build script actually recompiled xmonad every time instead of
> > quitting if xmonad.hs hasn't changed, I don't think this issue would
> > come up in the future.
>
> How about comparing the date of /usr/local/bin/xmonad as well?
> If libraries have changed such that a rebuild is needed, that binary
> ought to have been updated too.
>
> if [ "${output_file}" -nt xmonad.hs -a "${output_file}" -nt /usr/local/bin/xmonad ]; then
> ...
>

using /usr/local/bin/xmonad date is a nice approch. I agree with it.

Thanks.
--
Sebastien Marie

No comments:

Post a Comment