Date: Tue, 18 Nov 2008 19:43:59 +0200 From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: Martin Cracauer <cracauer@cons.org> Cc: ports@FreeBSD.org Subject: Re: How do conditionalize plist on $NOPORTDOCS (was: lang/cmucl - fails: install_error) Message-ID: <20081118194359.2d7d3099@it.buh.tecnik93.com> In-Reply-To: <20081118173545.GA83384@cons.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Z0YbXMsjK9qyATBT0SUuOyd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 18 Nov 2008 12:35:45 -0500 Martin Cracauer <cracauer@cons.org> wrote: > Ion-Mihai Tetcu wrote on Tue, Nov 18, 2008 at 07:28:37PM +0200:=20 > > On Tue, 18 Nov 2008 12:08:26 -0500 > > Martin Cracauer <cracauer@cons.org> wrote: > > =20 > > > 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/ > > >=20 > > > The 6.3 will run everywhere. Should I just use that one? Do you > > > want me to conditionalize on FreeBSD version? =20 > >=20 > > If they bother to release different native binaries for our > > supported OS versions let encourage them to keep doing that ;-) =20 >=20 > "They" =3D=3D kind of me, although I didn't build these particular > binaries. Please feel very encouraged then :-) > Is there prior art in ports about how to do this? What do I do with > oddball version numbers? ... .include <bsd.port.pre.mk> .if ${OSVERSION} > 6300000 DISTNAME=3D ${PORTNAME}-${PORTVERSION}-x86-freebsd6.3 .elif ${OSVERSION} > 700000 DISTNAME=3D ${PORTNAME}-${PORTVERSION}-x86-freebsd7.0 .elif ${OSVERSION} > 800000 DISTNAME=3D ${PORTNAME}-${PORTVERSION}-x86-freebsd8.0 .endif ... .. or something like. HTH, --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/Z0YbXMsjK9qyATBT0SUuOyd Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkki/uQACgkQJ7GIuiH/oeVGqwCffxnLbAs4o7rWxHKhgADuy0Rr JVgAoKlva1LTtAr8kipCzoR3sa0DIDO/ =GmNJ -----END PGP SIGNATURE----- --Sig_/Z0YbXMsjK9qyATBT0SUuOyd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081118194359.2d7d3099>