Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 12:58:11 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   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 ...
Message-ID:  <BANLkTinFrH2KCpazicwzKm5Fb23k2Qg_7A@mail.gmail.com>
In-Reply-To: <20110411085450.GA82163@FreeBSD.org>
References:  <201104110834.p3B8YHDQ034678@repoman.freebsd.org> <20110411085450.GA82163@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/4/11 Alexey Dokuchaev <danfe@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 ncur=
ses
>> from ports.
>> If a ports is linked against ncurses from base or from the ports, it sho=
uld
>> then add:
>>
>> =A0 USE_NCURSES=3Dyes
>>
>> It is also possible to specify the hard dependency on the ports ncurses =
or
>> one the base one adding the following macros:
>>
>> =A0 WITH_NCURSES_PORT=3Dyes or WITH_NCURSES_BASE=3Dyes
>
> Hmm, maybe we could avoid polluting the namespace with these extra
> WITH_NCURSES_FOO knobs? =A0Can it be just USE_NCURSES=3D[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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinFrH2KCpazicwzKm5Fb23k2Qg_7A>