Ports, bsd.lib.mk and NOPROFILE
Chris Rees
crees at FreeBSD.org
Sat Jan 19 13:36:08 UTC 2013
On 19 January 2013 01:45, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>
> I just tried to build a system with -CURRENT from scratch, and it fell over
> in graphics/gd because NOPROFILE is now named NO_PROFILE in bsd.lib.mk
>
> grep(1) tells me that a number of other ports will also have this problem
>
> It may be appropriate with a bandaid in bsd.lib.mk, which emits a noisy
> warning, until all these ports are fixed.
>
> A good grep strategy is to look for files containing "NOPROFILE" and
> "bsd.lib.mk" but they need not be on the same line.
The two examples you showed in IRC didn't contain bsd.lib.mk-- but I
see no problem in simply changing all the instances of NO(PROFILE|MAN)
to NO_\1.
We know that a bandaid is effectively a revert of the removal; would
be better to simply fix the ports. Only issue is, this doesn't catch
ports that use these variables in upstream; an exp-run is required for
that...
I'm running a grep for those two above-- are there any more I've missed?
Chris
More information about the freebsd-ports
mailing list