tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pulling libreoffice python version



Thomas Klausner <wiz%NetBSD.org@localhost> wrote:

> You can't, really. But you can do what libreoffice does -- take the
> default, i.e. just do not make the PKGNAME dependent on
> ${PYPKGPREFIX}.
>  Thomas

Would it make sense to run a script at install time? This gets the
version: 
pkg_info -N libreoffice|sed -n '/^python[0-9]\{1,\}-/p'

Note this is just to replace a single #! so that the python interpreter
is the same.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index