tech-pkg archive

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

The right way to change PLIST for lang/python24 for QNX


I'm using pkgsrc on QNX and working on Python (lang/python24). I have two 
questions about changing PLIST.

1) First I want to exclude some files from the package especially for QNX. 
There are some dynamic libraries not build, e.g. for NIS. As NIS seems not to
be available for QNX I will simply exclude the related dynamic module from 
What is the best way to achieve this? I have not found a conditional for PLIST.

2) Another issue is the naming of the dynamic python library:

-rwxr-xr-x  2 root      root        1162454 Dec 12 17:07
-rw-r--r--  1 root      root        1324726 Dec 12 17:07 libpython2.4.a

The naming is the normal convention used for QNX. Here is the naming of the 
standard C lib from QNX:
lrwxrwxrwx  1 root      root              9 Oct 12 10:49 /lib/ ->
-rwxrwxr-x  1 root      root              0 Dec 10 14:03 /lib/
-rwxrwxr-x  1 root      root         583420 Oct 11  2006 /lib/

What would be the best way to support the QNX naming scheme of dynamic 

Here are the messages from the make:

$ cd lang/python24
$ bmake package
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Building binary package for python24-2.4.4
Creating package /usr/src/HEAD/pkgsrc/packages/All/python24-2.4.4
Using SrcDir value of /usr/pkg
Registering conflicts: python-[0-9]*.
pkg_create: can't stat `/usr/pkg/lib/'
pkg_create: can't stat `/usr/pkg/lib/'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/'
pkg_create: lstat failed for file lib/ No such file or directory

These are the files already installed in /usr/pkg/lib/:
-r-xr-xr-x  1 root      root        1162454 Dec 12 17:07 
lrwxrwxrwx  1 root      root             12 Dec 12 17:11 
/usr/pkg/lib/ ->


Christian Leutloff, Aachen, Germany
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!

Home | Main Index | Thread Index | Old Index