tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: The right way to change PLIST for lang/python24 for QNX
> On Mon, Apr 07, 2008 at 04:50:25PM +0200, Christian Leutloff wrote:
> > 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
> > PLIST.
> > What is the best way to achieve this? I have not found a conditional for
> > PLIST.
>
> For NIS I have actually done that in the past. See NISMODULE in both
> PLIST and Makefile.
Good idea. That is what I was looking for. Thanks!
> > 2) Another issue is the naming of the dynamic python library:
>
> If possible, patch Python to match what we do on the other platforms.
> That saves sanity. The naming scheme includes the python version before
> the .so and a version afterwards, that should work well for QNX too.
That may be the way to go. But many other packages from pkgsrc are already
working the QNX way, too. For example the package devel/ncurses has these files:
$ ls -l /usr/pkg/lib/*form*
-rw-rw-r-- 1 root root 73130 Oct 12 17:48
/usr/pkg/lib/libform.a
-rwxr-xr-x 1 root root 860 Oct 12 17:44
/usr/pkg/lib/libform.la
lrwxrwxrwx 1 root root 16 Oct 12 17:48
/usr/pkg/lib/libform.so -> libform.so.5.0.6
lrwxrwxrwx 1 root root 16 Oct 12 17:48
/usr/pkg/lib/libform.so.5 -> libform.so.5.0.6
-rwxrwxr-x 1 root root 80572 Oct 12 17:48
/usr/pkg/lib/libform.so.5.0.6
Here are the entries from +CONTENT:
lib/libform.la
@comment MD5:5e32fbb52cd3311fc9e9cecc3b4ae6f0
lib/libform.a
@comment MD5:2c01c38c6fe8a79f2e8a93e2d34f3020
lib/libform.so
@comment Symlink:libform.so.5.0.6
lib/libform.so.5
@comment Symlink:libform.so.5.0.6
lib/libform.so.5.0.6
@comment MD5:d22a4755267fae20f4dc110cf0d89fe9
But the PLIST file does only mention:
lib/libform.la
What is the magic to get the other files into the package?
Thanks
Christian
--
Christian Leutloff, Aachen, Germany
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
Home |
Main Index |
Thread Index |
Old Index