pkgsrc-WIP-discuss archive

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

Re: pkglint : Redundant library found.



Hi,

On Tue, 21 Oct 2008 13:06:57 +0900, <brendon.j.costa%gmail.com@localhost> wrote:

> It seems, that when I add .so and .a files (and associated symlinks) to the
> PLIST file, pkglint complains about them. Is it not necessary to add the
> static and dynamic library files to the PLIST file directly for a libtool
> library? If not why is this the case?

Yes.

> Also I noticed that the older package I wrote for this project (for version
> 0.1.0) was defining: USE_PKGLOCALEDIR=yes Now when I looked at the PLIST
> file, some of the locale files *.mo were being installed somewhere I didn't
> expect them to be and there was some kind of substitution done over the
> Makefile.in files to enforce this (Which caused me a whole lot of problems
> creating my patch files until I figured out what was going on).
>
> Anyhow, I could find very little information with google on the
> USE_PKGLOCALEDIR variable and cant remember why I defined it in the first
> place. Can someone point me to documentation for this? I found that
> defining it to =no achieved what I desired (placing the locale files where
> i expect) but I don't fully understand the implications of doing so.

Some platforms prefer to use ${PREFIX}/lib/locale for locale dir.
USE_PKGLOCALEDIR=yse do it automatically (configure, Makefile, and PLIST).

In this case, it may not need to set "yes".

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%users.sourceforge.net@localhost

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index