svn commit: r335508 - head/graphics/hugin

Vasil Dimov vd at FreeBSD.org
Mon Dec 2 17:51:57 UTC 2013


On Mon, Dec 02, 2013 at 17:59:07 +0100, Olivier Duchateau wrote:
> 2013/12/2 Vasil Dimov <vd at freebsd.org>:
> > 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
> > ==============================================================================
> > --- 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
> 
> It needs to define USE_PYTHON= -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=/tmp/hugin install
...
python files get installed into /usr/local/lib/python2.7/site-packages/
...
===>   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 file or directory
pkg-static: lstat(/tmp/hugin/lib/python2.7/site-packages/hsi.py): No such file or directory
...

/usr/ports/graphics/hugin# make PREFIX=/tmp/hugin deinstall
---> files under /usr/local/lib/python2.7/site-packages/ are not removed.

-- 
Vasil Dimov
gro.DSBeerF at dv
%
If you accidently end up inside vi, you can quit it by pressing Escape, colon
(:), q (q), bang (!) and pressing return.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20131202/8a417739/attachment.sig>


More information about the svn-ports-head mailing list