From owner-freebsd-questions@FreeBSD.ORG Sun Sep 2 19:08:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0F4F16A420 for ; Sun, 2 Sep 2007 19:08:55 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (66-230-99-27-cdsl-rb1.nwc.acsalaska.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id CA1D613C481 for ; Sun, 2 Sep 2007 19:08:55 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id A40A51CC38 for ; Sun, 2 Sep 2007 11:08:54 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 2 Sep 2007 21:08:50 +0200 User-Agent: KMail/1.9.7 References: <200709021440.l82Ee9Cb001675@freefall.freebsd.org> <20070902172729.GD59826@arved.priv.at> <70f41ba20709021112p26024a1clc918963f5791a03f@mail.gmail.com> In-Reply-To: <70f41ba20709021112p26024a1clc918963f5791a03f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709022108.52850.fbsd.questions@rachie.is-a-geek.net> Subject: Re: ports/115885: misc/help2man: help2man ignores installed gettext perl mod; insists on stale p5-* dependency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 19:08:56 -0000 On Sunday 02 September 2007 20:12:03 snowcrash+freebsd wrote: > hi, > > > You have perl modules installed, that have no corresponding installed > > FreeBSD port. > > i do not use BSDPAN -- it's sloppy about its dependency mgmt. > > as i do on every other os/platform, i use ONLY "native" cpan/cpanp. > > i have dozens of cpan-installed perl-modules. cpan/cpanp manage the > dependencies just fine. Except for apps in the ports, because cpan/cpanp can not register *port* dependencies. RUN_DEPENDS does not mean "check if this file exists", it means "register a dependency on this port". What it does is: 1) check if the port is installed and if not install it. 2) add a line @pkgdep portname-version to $PKGDB/portname-version/+CONTENTS 3) add a line @DEPORIGIN:category/origin to $PKGDB/portname-version/+CONTENTS 4) add a line portname-version to $PKGDB/depname-version/+REQUIRED_BY If you wanna get rid of this problem, you could use an AFTER_INSTALL hack in pkgtools.conf to undo 2)-4). Messy, but works. Much cleaner is to just use the ports system p5-*. It does it's job very well and since you're familiar with cpan/cpanp I'm sure you'll have no problem installing modules that might not exist in the freebsd ports into a directory *outside* the ports hierarchy (/usr/local) and add this to the module search path. -- Mel People using reply to all on lists, must think I need 2 copies.