From owner-freebsd-ports Wed Sep 25 2:14:41 2002 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 648CB37B401 for ; Wed, 25 Sep 2002 02:14:40 -0700 (PDT) Received: from infinitive.futureperfectcorporation.com (infinitive.futureperfectcorporation.com [196.25.137.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9437143E4A for ; Wed, 25 Sep 2002 02:14:36 -0700 (PDT) (envelope-from nbm@gerund.futureperfectcorporation.com) Received: (qmail 2599 invoked by uid 0); 25 Sep 2002 09:14:26 -0000 Received: from gerund.futureperfectcorporation.com (196.25.137.65) by infinitive.futureperfectcorporation.com with DES-CBC3-SHA encrypted SMTP; 25 Sep 2002 09:14:26 -0000 Received: (qmail 10266 invoked by uid 1001); 25 Sep 2002 09:16:30 -0000 Date: Wed, 25 Sep 2002 11:16:30 +0200 From: Neil Blakey-Milner To: ports@FreeBSD.org Subject: Perl version in package prefix? Message-ID: <20020925091630.GA10160@mithrandr.moria.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Organization: iTouch Technology and Architectural Services X-Operating-System: FreeBSD 4.3-RELEASE i386 X-URL: http://mithrandr.moria.org/nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, What do people think about making a PERL_PKGNAMEPREFIX analogous to PYTHON_PKGNAMEPREFIX? From bsd.python.mk: # PYTHON_PKGNAMEPREFIX: Use this as a ${PKGNAMEPREFIX} to distinguish # packages for different Python versions. # default: py${PYTHON_SUFFIX}- This allows people to have multiple copies of, say, ports/security/py-openssl installed, one for each version of python they are supporting. For python 2.2, the package name is py22-openssl, for python 2.1, it is py21-openssl. This has been incredibly useful for me on environments where both python 2.1 and python 2.2 have been required. I believe it'll work similarly well with perl due to the similar major.minor versioning in the library paths. I had a number of problems when trying out system perl with "separate" perl 5.8 for testing, because I had modules for system perl installed, and perl 5.8 couldn't find the module, but the ports system wouldn't let me install the package because it was already installed. If the package was p58-Getopt-Long-2.32, it could co-exist with the p5-Getopt-Long-2.32 that the system perl needs. Anyway, it would probably take a while to get this done for all the ports, but I'd like to know whether pepole think this is a good idea. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message