From owner-freebsd-ports@FreeBSD.ORG Sun Oct 17 16:18:49 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8DF9106566C for ; Sun, 17 Oct 2010 16:18:49 +0000 (UTC) (envelope-from freebsd@beardz.net) Received: from svr06-mx.btshosting.co.uk (mx-2.btshosting.co.uk [178.63.196.248]) by mx1.freebsd.org (Postfix) with ESMTP id 950908FC1E for ; Sun, 17 Oct 2010 16:18:49 +0000 (UTC) Received: from [192.168.1.65] (host86-168-74-206.range86-168.btcentralplus.com [86.168.74.206]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bazerka@beardz.net) by svr06-mx.btshosting.co.uk (Postfix) with ESMTPSA id 409A1385B27; Sun, 17 Oct 2010 17:03:03 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beardz.net; s=default; t=1287331383; bh=vzwHFdETsqAlaHuigp2/0+aKRXFt6kzCmADBxcgfATQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=V09GTpuUAfaDQ0fCpT536k1UlbIbSXSc3Wt6rhWa8/Q6C3erNeImrRhcNfYkmFeLh VHNBwErq8lbbn/oN7ZQ1rAGFT5+DcQ7oZnGy9DXZZYVDGZsxLX6JKiqOXpIIWHDSVh dN8YDLEV8CWU+IQV3x2CC5NzRzQRU29V/P+qRTzg= Message-ID: <4CBB1E2F.9090302@beardz.net> Date: Sun, 17 Oct 2010 17:02:55 +0100 From: Jase Thew User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Anonymous References: <86y6aau3e6.fsf@gmail.com> In-Reply-To: <86y6aau3e6.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org, miwi@FreeBSD.org Subject: Re: irc/weechat*: cmake/Find(Python|Ruby|etc).cmake don't respect version from bsd.(python|ruby|etc).mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 16:18:49 -0000 On 07/10/2010 03:45, Anonymous wrote: > The port blindly assumes the first version of python|ruby|etc it finds > as the one user wants weechat plugin built against. Example for python > > $ export PYTHON_DEFAULT_VERSION=python2.7 > $ make install deinstall WITH_PYTHON= > ... > ===> Deinstalling weechat-0.3.3_1 > pkg_delete: file '/usr/local/lib/weechat/plugins/python.so' doesn't exist > > And excerpt from CMakeCache.txt > //Path to a program. > PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python > > //Path to a file. > PYTHON_INCLUDE_PATH:PATH=/usr/local/include/python2.5 > > //Path to a library. > PYTHON_LIBRARY:FILEPATH=/usr/local/lib/libpython2.6.so > > //Dependencies for the target > python_LIB_DEPENDS:STATIC=general;/usr/local/lib/libpython2.6.so;general;weechat_scripts; > > I guess FindPython.cmake doesn't respect LOCALBASE, too. > Hi Anonymous, Thanks for pointing this issue out - I'll look into it soon. Regards, Jase Thew.