Re: pkglint : Redundant library found.

"OBATA Akio" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
Hi,

On Tue, 21 Oct 2008 13:06:57 +0900, <[email protected]> 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 / [email protected]

-------------------------------------------------------------------------
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=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.