From owner-freebsd-ports@FreeBSD.ORG Tue Mar 27 03:24:23 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B4BB16A403 for ; Tue, 27 Mar 2007 03:24:23 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: from flpvm09.prodigy.net (flpvm09.prodigy.net [207.115.20.39]) by mx1.freebsd.org (Postfix) with ESMTP id 8121D13C483 for ; Tue, 27 Mar 2007 03:24:21 +0000 (UTC) (envelope-from shild@sbcglobal.net) X-ORBL: [68.75.50.153] Received: from fbsd1.dyndns.org (adsl-68-75-50-153.dsl.emhril.ameritech.net [68.75.50.153]) by flpvm09.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id l2R3Csoe002513; Mon, 26 Mar 2007 20:12:55 -0700 Received: from fbsd1.dyndns.org (localhost.dyndns.org [127.0.0.1]) by fbsd1.dyndns.org (8.13.8/8.13.8) with ESMTP id l2R3D5oi061582; Mon, 26 Mar 2007 22:13:05 -0500 (CDT) (envelope-from shild@sbcglobal.net) Received: (from shildret@localhost) by fbsd1.dyndns.org (8.13.8/8.13.8/Submit) id l2R3D1UZ061581; Mon, 26 Mar 2007 22:13:01 -0500 (CDT) (envelope-from shild@sbcglobal.net) X-Authentication-Warning: fbsd1.dyndns.org: shildret set sender to shild@sbcglobal.net using -f From: "Scott T. Hildreth" To: "Ian A. Tegebo" In-Reply-To: <20070326234315.GE25691@rescomp.berkeley.edu> References: <20070326234315.GE25691@rescomp.berkeley.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 26 Mar 2007 22:13:00 -0500 Message-Id: <1174965180.42679.48.camel@fbsd1.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: freebsd-ports@freebsd.org Subject: Re: Managing perl modules X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shild@sbcglobal.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 03:24:23 -0000 On Mon, 2007-03-26 at 16:43 -0700, Ian A. Tegebo wrote: > I'm finding myself needing perl modules that aren't already ports. I > haven't been using BSDPAN because I heard that that method doesn't work > with portupgrade and friends. So far I've been following the porter's > handbook for my own local ports overlay. > > Is there a recommended method for managing perl modules? I was hoping > cpan2dist via CPANPlus would do the trick but it looks like it hasn't > been subclassed for ports yet: > > http://search.cpan.org/~kane/CPANPLUS-0.076/ > > I know Gentoo has g-cpan for this purpose and debian has dh-make-perl. > Is BSDPAN dead simple and I've just been missing out? > Not the answer you looking for, but I thought I would share. :-) Because I am a heavy Perl user, I install my own Perl in /usr/local/perl-X.X.X and have a link /usr/local/perl point to what ever version directory I want to use for "production". I set up cpan and install modules via cpan, which handles the dependencies for me (95% of the time). I consider the Perl in ports to be a vendor Perl and allow what ever port that needs it and any modules they need. Because I tend to be more current with modules, I find installing with CPAN the way to go. I also can test a new version and supporting modules in its own env or dir without breaking any dependent software or processes. -- Scott T. Hildreth