Re: cvs commit: ports/Mk bsd.ncurses.mk bsd.port.mk ports/audio/cmus Makefile ports/audio/ncmpcpp Makefile ports/audio/ocp Makefile ports/audio/pytone Makefile ports/deskutils/wyrd Makefile ports/devel/cdk Makefile ports/devel/stfl Makefile ...

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Mon, 11 Apr 2011 12:58:11 +0200
2011/4/11 Alexey Dokuchaev <danfe_at_freebsd.org>:
> On Mon, Apr 11, 2011 at 08:34:17AM +0000, Baptiste Daroussin wrote:
>> Add a new macro to deal with conflict between ncurses from base and ncurses
>> from ports.
>> If a ports is linked against ncurses from base or from the ports, it should
>> then add:
>>
>>   USE_NCURSES=yes
>>
>> It is also possible to specify the hard dependency on the ports ncurses or
>> one the base one adding the following macros:
>>
>>   WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes
>
> Hmm, maybe we could avoid polluting the namespace with these extra
> WITH_NCURSES_FOO knobs?  Can it be just USE_NCURSES=[yes|base|ports] ?
>
> I believe WITH_OPENSSL also suffers from similar problem.
>
> ./danfe
>

Good idea, let's see how to implement that nicely.

regards,
Bapt
Received on Mon Apr 11 2011 - 10:58:32 UTC