From owner-freebsd-ports@FreeBSD.ORG Mon Nov 10 11:25:50 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC2DB16A4CE for ; Mon, 10 Nov 2003 11:25:50 -0800 (PST) Received: from yertle.kcilink.com (yertle.kcilink.com [216.194.193.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 175BD43FAF for ; Mon, 10 Nov 2003 11:25:50 -0800 (PST) (envelope-from khera@kcilink.com) Received: by yertle.kcilink.com (Postfix, from userid 100) id 7EE7D2178C; Mon, 10 Nov 2003 14:25:49 -0500 (EST) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16303.58941.382301.400967@yertle.int.kciLink.com> Date: Mon, 10 Nov 2003 14:25:49 -0500 To: ports@freebsd.org 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> X-Mailer: VM 7.14 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid Subject: Re: ports containing perl modules go into /lib instead of /usr/local/lib X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 19:25:51 -0000 >>>>> "OE" == Oliver Eikemeier writes: OE> Vivek Khera wrote: >>>>>>> "OE" == Oliver Eikemeier 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.