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 ...

Baptiste Daroussin bapt at freebsd.org
Mon Apr 11 10:58:32 UTC 2011


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


More information about the cvs-all mailing list