How do conditionalize plist on $NOPORTDOCS
Greg Larkin
glarkin at FreeBSD.org
Tue Nov 18 09:49:02 PST 2008
-----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 <cracauer at cons.org> 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-----
More information about the freebsd-ports
mailing list