From owner-svn-ports-all@FreeBSD.ORG Mon Dec 2 17:51:57 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BF1EAF8; Mon, 2 Dec 2013 17:51:57 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E805B1833; Mon, 2 Dec 2013 17:51:56 +0000 (UTC) Received: from mail.v5d.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB2HptZ3000262; Mon, 2 Dec 2013 17:51:56 GMT (envelope-from vd@v5d.org) Received: by mail.v5d.org (Postfix, from userid 1007) id 5DF942E348; Mon, 2 Dec 2013 19:51:55 +0200 (EET) Date: Mon, 2 Dec 2013 19:51:55 +0200 From: Vasil Dimov To: Olivier Duchateau Subject: Re: svn commit: r335508 - head/graphics/hugin Message-ID: <20131202175155.GA44136@hag.hw.v5d.org> References: <201312021628.rB2GSIFs048953@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: vd@FreeBSD.org List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 17:51:57 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 02, 2013 at 17:59:07 +0100, Olivier Duchateau wrote: > 2013/12/2 Vasil Dimov : > > Author: vd > > Date: Mon Dec 2 16:28:18 2013 > > New Revision: 335508 > > URL: http://svnweb.freebsd.org/changeset/ports/335508 > > > > Log: > > Fix graphics/hugin's pkg-plist > > > > Modified: > > head/graphics/hugin/pkg-plist > > > > Modified: head/graphics/hugin/pkg-plist > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/graphics/hugin/pkg-plist Mon Dec 2 16:10:20 2013 = (r335507) > > +++ head/graphics/hugin/pkg-plist Mon Dec 2 16:28:18 2013 = (r335508) > > @@ -25,6 +25,9 @@ bin/pto_gen > > bin/pto_merge > > bin/tca_correct > > bin/vig_optimize > > +%%LOCALBASE%%/lib/python2.7/site-packages/_hsi.so > > +%%LOCALBASE%%/lib/python2.7/site-packages/hpi.py > > +%%LOCALBASE%%/lib/python2.7/site-packages/hsi.py > > lib/hugin/libceleste.so.0.0 > > lib/hugin/libflann_cpp.so > > lib/hugin/libhugin_python_interface.so.0.0 >=20 > It needs to define USE_PYTHON=3D -2.7 Any specific reason to use "-2.7" instead of "yes". > and replace %%LOCALBASE%%/lib/python2.7/site-packages%% by %%PYTHON_ > SITELIBDIR%% [...] Hmm, of course python2.7 should not be hardcoded in there and %%PYTHON_SITELIBDIR%% should be used instead, I overlooked this. But notice - using %%PYTHON_SITELIBDIR%% does not work if the port is installed in an unusual PREFIX, I guess this is not hugin specific: (python and other ports are installed into /usr/local/, as by default) /usr/ports/graphics/hugin# make PREFIX=3D/tmp/hugin install =2E.. python files get installed into /usr/local/lib/python2.7/site-packages/ =2E.. =3D=3D=3D> Registering installation for hugin-2012.0.0_3 pkg-static: lstat(/tmp/hugin/lib/python2.7/site-packages/_hsi.so): No such = file or directory pkg-static: lstat(/tmp/hugin/lib/python2.7/site-packages/hpi.py): No such f= ile or directory pkg-static: lstat(/tmp/hugin/lib/python2.7/site-packages/hsi.py): No such f= ile or directory =2E.. /usr/ports/graphics/hugin# make PREFIX=3D/tmp/hugin deinstall ---> files under /usr/local/lib/python2.7/site-packages/ are not removed. --=20 Vasil Dimov gro.DSBeerF@dv % If you accidently end up inside vi, you can quit it by pressing Escape, col= on (:), q (q), bang (!) and pressing return. --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlKcyLsACgkQFw6SP/bBpCDSvQCfRWTvp2iMVMNWgQGjJA5Gb5aV NiQAoK2DzG0BO8glkAshp+XIbawGdztD =FdFW -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--