From owner-cvs-all Fri Aug 28 15:40:13 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA03370 for cvs-all-outgoing; Fri, 28 Aug 1998 15:40:13 -0700 (PDT) (envelope-from owner-cvs-all) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA03273; Fri, 28 Aug 1998 15:39:53 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.7/8.7.3) id PAA27690; Fri, 28 Aug 1998 15:38:48 -0700 (PDT) Date: Fri, 28 Aug 1998 15:38:48 -0700 (PDT) Message-Id: <199808282238.PAA27690@vader.cs.berkeley.edu> To: mark@grondar.za CC: committers@freebsd.org, ports@freebsd.org, markm@freebsd.org In-reply-to: <199808281805.UAA05614@gratis.grondar.za> (message from Mark Murray on Fri, 28 Aug 1998 20:05:04 +0200) Subject: Re: p5-* ports From: asami@freebsd.org (Satoshi Asami) Sender: owner-cvs-all@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * > (1) Does it behave exactly like the one in ports? For instance, the * > p5-* ports still will still go to the same directory * > (/usr/local/lib/perl5/...)? * * No - I belive we discussed this before? I'm negotiable, but I'd prefer * /usr/local/libexec/perl5/. Yes we discussed it, but you said you're going to keep them in /usr/local/lib/perl5 for now, but split them to share/perl5 (manpages) and libexec/perl5 (everything else). And you said you're going to give out a loud yell before you change that (I haven't heard anything coming from South Africa :). * > (2) If so, where does it get the value "/usr/local" from? * * It is a configuration option for perl's ./configure, and could be * set as a #define for my bmaked stuff or as an entry in @INC for the * diehards. You mean it's built in when you build /usr/bin/perl5 (and friends)? What does the user have to do if they want to move ${LOCALBASE} elsewhere? Speaking of bsd.port.mk...I was thinking about adding something like this (dima committed a very premature version of this): === .if exists(/usr/bin/perl5) .if !exists(/usr/bin/perl${PERL_VERSION} "error! you need to update your system perl or delete it!" .else PERL5= /usr/bin/perl${PERL_VERSION} .endif .else PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} .if defined(USE_PERL5) BUILD_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 RUN_DEPENDS+= perl${PERL_VERSION}:${PORTSDIR}/lang/perl5 .endif .endif === What do you think? Will it just work (modulo the (1) problem above) with this, or do we need something else? One thing that is *very important* is to absorb all hackery into bsd.port.mk so individual ports don't have to be adjusted depending on whether the user is running -stable or -current. (I'd also prefer to have it work on users with pre-src-perl5 -current with a new bsd.port.mk, thus the above test.) Satoshi