ports/126890: port update: lang/cmucl

Stefan Walter stefan at freebsd.org
Tue Dec 16 15:10:08 UTC 2008


The following reply was made to PR ports/126890; it has been noted by GNATS.

From: Stefan Walter <stefan at freebsd.org>
To: Fulvio Ciriaco <oivulf at gmail.com>
Cc: Martin Cracauer <cracauer at cons.org>,
	GNATS <FreeBSD-gnats-submit at freebsd.org>
Subject: Re: ports/126890: port update: lang/cmucl
Date: Tue, 16 Dec 2008 16:03:19 +0100

 Fulvio Ciriaco, 15.12.08, 21:13h CET:
 
 > This is because only cmucl-19e-x86-freebsd{6.3,7.0,8.0}.tar.bz2 is found on the
 > site. 
 > How should one deal with this?
 
 I assume that the 6.3 version will work on 6.4 as well, and the 7.0
 version will work on 7.1 etc. If that's the case, check ${OSVERSION} and
 set DISTNAME accordingly. Untested example:
 
 ###
 .if ${OSVERSION} >= 800000 || defined(FETCH_ALL)
 DISTNAME+=  ${PORTNAME}-${PORTVERSION}-x86-freebsd8.0
 .endif
 .if ${OSVERSION} >= 700055 && ${OSVERSION} < 800000 || defined(FETCH_ALL)
 DISTNAME+=  ${PORTNAME}-${PORTVERSION}-x86-freebsd7.0
 .endif
 .if ${OSVERSION} >= 603000 && ${OSVERSION} < 700055 || defined(FETCH_ALL)
 DISTNAME+=  ${PORTNAME}-${PORTVERSION}-x86-freebsd6.3
 .endif
 .if ${OSVERSION} < 603000
 IGNORE=     Works only on system >= 6.3-RELEASE
 .endif
 ###
 
 With the check for FETCH_ALL you can execute "make makesum FETCH_ALL=yes"
 and it will generate distinfo entries for all three files (which is
 required).
 
 Also see [1] and [2] in the porter's handbook for details.
 
 Regards,
 Stefan
 
 [1]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-after-port-mk.html
 [2]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html



More information about the freebsd-ports-bugs mailing list