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

Alexey Dokuchaev danfe at FreeBSD.org
Mon Apr 11 08:54:50 UTC 2011


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


More information about the cvs-ports mailing list