From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16774 invoked by uid 1002); 20 Jun 2003 15:50:04 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 5247 invoked from network); 20 Jun 2003 15:50:04 -0000 Date: Fri, 20 Jun 2003 08:50:01 -0700 From: Max Kalika To: Henti Smith , gentoo-dev@gentoo.org Message-ID: <228840000.1056124201@valkyrie.lsit.ucsb.edu> In-Reply-To: <20030620163202.3061d21e.bain@tcsn.co.za> References: <20030620163202.3061d21e.bain@tcsn.co.za> X-Mailer: Mulberry/3.0.3 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [gentoo-dev] multiple version parts in ebuild name. X-Archives-Salt: b070961c-d9b6-4e2b-8d79-3f5c0aba47fe X-Archives-Hash: 1944ebf413180ee2aa4b76ff07523524 Quoting Henti Smith : > Is there a "suggested" way around the multiple version parts error when > you have a package with the name gl-117 as the package name. the ebuild > would be gl-117-0.9.ebuild in directory gl-117 which causes the error. One way may be to call the package gl_117 so it would look like: app-games/gl_117/gl_117-0.9.ebuild and inside the ebuild create a custom package variable: MY_P="${P/_/-}" Then you can use "${MY_P}" where you would normally use "${P}" or you can just use "${P/_/-}" directly. -- ---max kalika --max@lsit.ucsb.edu -lsit systems administrator -- gentoo-dev@gentoo.org mailing list