From owner-freebsd-ports@FreeBSD.ORG Tue Nov 18 17:49:02 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105C21065670; Tue, 18 Nov 2008 17:49:02 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id DF2F78FC12; Tue, 18 Nov 2008 17:49:01 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L2Uh8-0006nw-T8; Tue, 18 Nov 2008 12:49:00 -0500 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 7A75527996EF; Tue, 18 Nov 2008 12:48:58 -0500 (EST) Message-ID: <49230009.4080903@FreeBSD.org> Date: Tue, 18 Nov 2008 12:48:57 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Martin Cracauer References: <20081116045257.2EBEE12E4209@quark.ds9.tecnik93.com> <20081118160528.GA79253@cons.org> <20081118185717.0573f110@it.buh.tecnik93.com> <20081118170826.GA82098@cons.org> <20081118192837.03bd8b53@it.buh.tecnik93.com> <20081118173545.GA83384@cons.org> In-Reply-To: <20081118173545.GA83384@cons.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.6 (-) Cc: ports@FreeBSD.org, Ion-Mihai Tetcu Subject: Re: How do conditionalize plist on $NOPORTDOCS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 17:49:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Cracauer wrote: > Ion-Mihai Tetcu wrote on Tue, Nov 18, 2008 at 07:28:37PM +0200: >> On Tue, 18 Nov 2008 12:08:26 -0500 >> Martin Cracauer wrote: >> >>> While we are talking, how do you guys thing I should handle this >>> problem: it's a binary port. There are different binaries for >>> FreeBSD-6.x, 7.x, 8.x >>> http://common-lisp.net/project/cmucl/downloads/release/19e/ >>> >>> The 6.3 will run everywhere. Should I just use that one? Do you want >>> me to conditionalize on FreeBSD version? >> If they bother to release different native binaries for our supported >> OS versions let encourage them to keep doing that ;-) > > "They" == kind of me, although I didn't build these particular > binaries. > > Is there prior art in ports about how to do this? What do I do with > oddball version numbers? > > Martin Hi Martin, Perhaps you can conditionalize the DISTNAME based on the FreeBSD version number, as shown on this page: http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html? If you do that, just make sure that the distinfo file has an entry for each possible DISTNAME value, so the checksum verification will work on any FreeBSD version. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJIwAJ0sRouByUApARApa9AKDEIoM+DOHgmd5jmLmdecjUhGK/pgCeKNlv AFjNngsUN6CxwYN2FSN4lEM= =W/bT -----END PGP SIGNATURE-----