Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 15:10:08 GMT
From:      Stefan Walter <stefan@freebsd.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/126890: port update: lang/cmucl
Message-ID:  <200812161510.mBGFA846050730@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/126890; it has been noted by GNATS.

From: Stefan Walter <stefan@freebsd.org>
To: Fulvio Ciriaco <oivulf@gmail.com>
Cc: Martin Cracauer <cracauer@cons.org>,
	GNATS <FreeBSD-gnats-submit@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812161510.mBGFA846050730>