From owner-cvs-all@FreeBSD.ORG Sun May 23 15:24:36 2010 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B19B106566B; Sun, 23 May 2010 15:24:36 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 69E6F8FC14; Sun, 23 May 2010 15:24:35 +0000 (UTC) Received: by gwj18 with SMTP id 18so436515gwj.13 for ; Sun, 23 May 2010 08:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=6jkjkosS6zC/ROO5OGtghfFEI1KMRXQOCN4zBbZq0jg=; b=WRV01lZKpiDtbf+B892sGod/BQizEt3RTvrA2grcPaBZ4MLudV1OPz6N0CuZyLWgkO QTLoEJJp5oPBlV9HmH5PRxmYBkijlnwoQIS3smfdq4Q7yg0nRZk8PWtAfx3rWpkSWaSX Cn49QD/3FYgQdTOPE4dNTftOLkGmO1TKMVLtg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Tybpi7ykLwYpzG8EFV87SofFGjiDQKh7ShiLKFuoSfSOGV4JA4d4Zz4krljnK9u6LS LZ8yHAI+Sf8F6pIqwRPx72uckl6V71w6HrJrHjkaEZH0www/RZq++zqSMVkIIZxpWHCZ 70T8burKG2Q3C0JrgLxKyB0IFFgVs1gA8ZH5w= MIME-Version: 1.0 Received: by 10.150.162.9 with SMTP id k9mr5054758ybe.11.1274628274544; Sun, 23 May 2010 08:24:34 -0700 (PDT) Sender: r.c.ladan@gmail.com Received: by 10.151.49.5 with HTTP; Sun, 23 May 2010 08:24:32 -0700 (PDT) In-Reply-To: <20100522111916.GB49597@FreeBSD.org> References: <200911291151.nATBpdsp044837@repoman.freebsd.org> <20100521170958.GA24679@FreeBSD.org> <4BF6EB8A.6020005@freebsd.org> <201005221405.42362.makc@freebsd.org> <20100522111916.GB49597@FreeBSD.org> Date: Sun, 23 May 2010 17:24:32 +0200 X-Google-Sender-Auth: r5oUL5xGaMzppb5b0s3IETfEVJ4 Message-ID: From: =?ISO-8859-1?Q?Ren=E9_Ladan?= To: Alexey Dokuchaev Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: Max Brazhnikov , cvs-all@freebsd.org, ports-committers@freebsd.org, Dmitry Marakasov , cvs-ports@freebsd.org, Dima Panov Subject: Re: cvs commit: ports/devel/cmake Makefile distinfo pkg-plist ports/devel/cmake-gui Makefile distinfo X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 15:24:36 -0000 2010/5/22 Alexey Dokuchaev : > On Sat, May 22, 2010 at 02:05:42PM +0400, Max Brazhnikov wrote: >> On Fri, 21 May 2010 22:22:34 +0200, Rene Ladan wrote: >> > > Yeah, I've also had to explicitly provide path to wxgtk2-2.8-config = for >> > > my CMake-based ports as well. =9AProbably some sort of hack we used = to >> > > employ for sdl12-config is in order; creating symlink seems bad sinc= e >> > > target might be something other than wxgtk2-2.8-config, leading to >> > > potential conflicts. =9AWe have a long record of dealing with local >> > > differences from the rest of the [GNU/OSS] world in a sane ways. =9A= :-) >> > > >> > I've sent a patch for this with ports/146805 >> >> With this patch cmake/wx-based ports will always try to build with wx-2.= 8 >> when multiple wx ports are installed, disregarding what ports/user reque= st. >> Erm yes, I overlooked this situation when writing the patch. >> Wouldn't better to pass ${WX_CONFIG} for CMAKE_ARGS in bsd.wx.mk, as it = does >> already for CONFIGURE_ARGS? > > Hmm. =9AActually, that's pretty much what people do with their ports to > hack around this problem (line from one of mine): > > =9ACMAKE_ARGS=3D =9A -DwxWidgets_CONFIG_EXECUTABLE=3D"${WX_CONFIG}" > > Maybe we should just +=3D this value to CMAKE_ARGS when appropriate (read= : > when USE_WX) and be done this it? > In this case, can you just use the simple CMakeLists.txt as shown earlier in this thread and the PR ? Rene