ports/161502: [patch] lang/sbcl: allow bootstrapping on 10.0-CURRENT

Nali Toja nalitoja at gmail.com
Tue Oct 11 21:20:06 UTC 2011


>Number:         161502
>Category:       ports
>Synopsis:       [patch] lang/sbcl: allow bootstrapping on 10.0-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 11 21:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nali Toja
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
- make NEWBOOTNAME based on OSREL like CONFIGURE_TARGET
- remove upper limit for sbcl-1.0.31-${ARCH}-freebsd8-binary.tar.bz2
>How-To-Repeat:
>Fix:
--- bootstrap_on_head.diff begins here ---
Index: lang/sbcl/Makefile
===================================================================
RCS file: /a/.csup/ports/lang/sbcl/Makefile,v
retrieving revision 1.90
diff -u -p -r1.90 Makefile
--- lang/sbcl/Makefile	14 Jul 2011 21:35:19 -0000	1.90
+++ lang/sbcl/Makefile	11 Oct 2011 21:06:15 -0000
@@ -57,7 +57,7 @@ MODULESDOCS=	asdf/README asdf/README.SBC
 		sb-simple-streams/README
 .endif
 
-OSVER_MAJOR=	${OSVERSION:C/([0-9]).*/\1/}
+OSVER_MAJOR=	${OSREL:R}
 NEWBOOTNAME=	${PORTNAME}-${PORTVERSION:R}-${ARCH}-freebsd${OSVER_MAJOR}
 DOC_TARGETS=	info html
 CONTRIB_MODULES=	asdf			\
@@ -134,7 +134,7 @@ BOOT_VERSION=	1.0.31
 BOOT_ARCH_OS_LIST=	amd64-freebsd8 amd64-freebsd7 amd64-freebsd6 \
 			i386-freebsd8 i386-freebsd7 i386-freebsd6
 . else
-.  if ${OSVER_MAJOR} == 9	# We'll use 8.x bootstrap for now
+.  if ${OSVER_MAJOR} >= 9	# We'll use 8.x bootstrap for now
 BOOT_ARCH_OS_LIST=	${ARCH}-freebsd8
 .  else
 BOOT_ARCH_OS_LIST=	${ARCH}-freebsd${OSVER_MAJOR}
--- bootstrap_on_head.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list