Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 14:25:49 -0500
From:      Vivek Khera <khera@kcilink.com>
To:        ports@freebsd.org
Subject:   Re: ports containing perl modules go into /lib instead of /usr/local/lib
Message-ID:  <16303.58941.382301.400967@yertle.int.kciLink.com>
In-Reply-To: <3FAFDA5E.2030308@fillmore-labs.com>
References:  <16294.34255.356451.725973@yertle.int.kciLink.com> <20031110003359.GB43349@toxic.magnesium.net> <3FAEE4E3.7000702@fillmore-labs.com> <20031110011854.GD43349@toxic.magnesium.net> <20031110013624.GE43349@toxic.magnesium.net> <16303.46232.713078.496625@yertle.int.kciLink.com> <3FAFC336.3030806@fillmore-labs.com> <16303.51123.347649.592276@yertle.int.kciLink.com> <3FAFDA5E.2030308@fillmore-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "OE" == Oliver Eikemeier <eikemeier@fillmore-labs.com> writes:

OE> Vivek Khera wrote:
>>>>>>> "OE" == Oliver Eikemeier <eikemeier@fillmore-labs.com> writes:
>> 
OE> Vivek , could you send us pkg_info -qf 'bsdpan-Net-Server-*'?
>> 
>> [lorax]~% pkg_info -qf 'bsdpan-Net-Server-*'
>> @comment PKG_FORMAT_REVISION:1.1
>> @name bsdpan-Net-Server-0.85
>> @cwd /
>> @comment This package was generated by BSDPAN
>> /usr/local/lib/perl5/site_perl/5.6.1/Net/Server.pm
OE> => this should be
OE>   usr/local/lib/perl5/site_perl/5.6.1/Net/Server.pm,
OE> or better
OE>   @cwd /usr/local
OE>   lib/perl5/site_perl/5.6.1/Net/Server.pm

Whatever BSDPAN does, that's what I've got.


>> @unexec rmdir /usr/local/man/man3 2>/dev/null || true
OE> Packages shouldn't do this.

>> @comment ORIGIN:net/p5-Net-Server
OE> Whoa! What's this???

when your run pkgdb -F, it tries to find corresponding p5- ports to
use as a reference.


>> @comment PKG_FORMAT_REVISION:1.1
>> @name bsdpan-Net-Server-0.86
>> @cwd /
>> @comment This package was generated by BSDPAN
>> /usr/local/lib/perl5/site_perl/5.6.1/Net/Server.pm

OE> And here you have the second installation overwriting the first one.
OE> The package system doesn't deal well withc cases like that.

I guess I need to run pkgdb -F to clear out the duplicate packages.

But none of this has much to do with my original problem of other
ports installing their perl parts into /lib rather than
/usr/local/lib.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16303.58941.382301.400967>