ports/89920: MAINTAINER: lang/sbcl: Change default bootstrap language to CMUCL
NIIMI Satoshi
sa2c at sa2c.net
Sun Dec 4 05:50:03 UTC 2005
>Number: 89920
>Category: ports
>Synopsis: MAINTAINER: lang/sbcl: Change default bootstrap language to CMUCL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 04 05:50:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: NIIMI Satoshi
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Tue Nov 8 17:05:21 JST 2005 root at berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This PR changes to use CMUCL to bootstrap by default, because
distrubuted binaries does not work on some environment.
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005092302/sbcl-0.9.7.log
>How-To-Repeat:
>Fix:
--- sbcl.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/sbcl/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 29 Nov 2005 13:16:38 -0000 1.25
+++ Makefile 2 Dec 2005 04:59:43 -0000
@@ -18,17 +18,14 @@
MAINTAINER= sa2c at sa2c.net
COMMENT= A Common Lisp development system derived from the CMU CL system
-.undef BOOT_VERSION
# If you have a previous version of SBCL installed, you can use it
# instead of CMUCL to build the port, then deinstall it before
# installing the new version.
.if defined(WITH_SBCL)
LISP_CMD= ""
-.elif defined(WITH_CMUCL)
+.else
BUILD_DEPENDS= lisp:${PORTSDIR}/lang/cmucl
LISP_CMD= "lisp -noinit -batch"
-.else
-BOOT_VERSION= ${PORTVERSION}
.endif
USE_REINPLACE= yes
@@ -54,17 +51,6 @@
RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
.endif
-.if defined(BOOT_VERSION)
-BOOT_ARCH= x86
-BOOT_OS= freebsd
-BOOT_DISTNAME= ${PORTNAME}-${BOOT_VERSION}-${BOOT_ARCH}-${BOOT_OS}
-DISTFILES+= ${BOOT_DISTNAME}-binary${EXTRACT_SUFX}
-LISP_CMD= "${WRKDIR}/${BOOT_DISTNAME}/src/runtime/sbcl --core ${WRKDIR}/${BOOT_DISTNAME}/output/sbcl.core --disable-debugger --userinit /dev/null --sysinit /dev/null"
-.if ${OSVERSION} >= 500000
-BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libc.so.4:${PORTSDIR}/misc/compat4x
-.endif
-.endif
-
post-patch:
@${REINPLACE_CMD} -E -e \
's|CFLAGS = .*|CFLAGS = ${CFLAGS} -DSBCL_HOME=\\"${PREFIX}/lib/sbcl/\\"|' \
--- sbcl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list