Saturday, January 20, 2018

Re: cmake.port.mk and DEBUG

On Sat, Jan 20 2018, Antoine Jacoutot <ajacoutot@bsdfrog.org> wrote:
> On Fri, Jan 19, 2018 at 02:18:53PM +0000, Jeremie Courreges-Anglas wrote:

[...]

>> * why isn't MODCMAKE_BUILD_SUFFIX properly substituted in all PLISTs?
>
> I think that's the main issue isn't it?
> We can probably fix the framework to do so.

Nope. This blurb about MODCMAKE_BUILD_SUFFIX not being substituted is
just me being stupid.

But given that I'm perfectly fine with being stupid, I'm not happy with
a module overloading DEBUG, inserting random CFLAGS at upstream's will
and triggering PLIST_DB changes.

And I'm not the only one that has been bitten by this, I recall at least
three other developers and one user losing time on this. So I'm
advocating for less magic. :)

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

No comments:

Post a Comment