From owner-cvs-ports@FreeBSD.ORG Mon Apr 11 10:58:32 2011 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42F1C106566C; Mon, 11 Apr 2011 10:58:32 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D2E488FC0C; Mon, 11 Apr 2011 10:58:31 +0000 (UTC) Received: by iyj12 with SMTP id 12so6718060iyj.13 for ; Mon, 11 Apr 2011 03:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=F8djW/Qlul2+4fnTf4b3lWYoVvZH2wXYlwEG1dUDcws=; b=syn8buDC0RRZ6SG5fG1s0UQCNQYDTWiFVZY2sPWB4kC40xIZJzWQS0zOrevdfyIsBF D/DHDdhBS9JkYQqvMvo7BUH9IhEVI3qd3Z+6BaEdCmuz513RAYkXpciZTR3q838dCoIK 9Mc5ddSu9kUSu0NfaM/I5ZTknmKiXdB+3drPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=XokOr+u8CwsULVJ9ryyiEXq0Fh42iGqqwpHQ4bSs8MrQ/o35+x5c5+jVCX3JcsY7Dd BGVpO6Dr5lf/TBT7U0gNkktuq1caqq4ZUcG8Cbg09t3TeoFN1iUcLSL18Jiy7scuWjiv qWAqe8WY4yIW8ltTjah097U39W2ggNBf3uUUQ= Received: by 10.231.32.66 with SMTP id b2mr5151219ibd.89.1302519511126; Mon, 11 Apr 2011 03:58:31 -0700 (PDT) MIME-Version: 1.0 Sender: baptiste.daroussin@gmail.com Received: by 10.231.173.198 with HTTP; Mon, 11 Apr 2011 03:58:11 -0700 (PDT) In-Reply-To: <20110411085450.GA82163@FreeBSD.org> References: <201104110834.p3B8YHDQ034678@repoman.freebsd.org> <20110411085450.GA82163@FreeBSD.org> From: Baptiste Daroussin Date: Mon, 11 Apr 2011 12:58:11 +0200 X-Google-Sender-Auth: hufLYQMNh6GjKfciVbdi9odNQro Message-ID: To: Alexey Dokuchaev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 ... X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 10:58:32 -0000 2011/4/11 Alexey Dokuchaev : > 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