pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: happy-lib is not happy (content warning: haskell), pandoc broken



Paul Ripke <stix%stix.id.au@localhost> writes:

> On Mon, Aug 04, 2025 at 07:15:59PM -0400, Greg Troxel wrote:
>> Do we need to have some fixup code to work around upstream not coping
>> with build/install rpath confusion?
>
> Hacky, but adding these to the Makefile fixes it:
>
> BUILDLINK_TRANSFORM+=  rm:-Wl,-rpath,${WRKSRC}/dist/build/backend-glr
> BUILDLINK_TRANSFORM+=  rm:-Wl,-rpath,${WRKSRC}/dist/build/frontend

Thanks.  Fixes the issue on my system.

It would be great if someone actually understood the haskell module
build system and fixed this correctly.  It's interesting and perhaps a
clue that this is not more widespread, so perhaps a happy-specific bug
(or a pkgsrc bug expressed only for happy).

Until then, I think pkgsrc users are better off with the workaround than
without, so I've committed it.


Home | Main Index | Thread Index | Old Index