aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sbcl
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-01 19:20:21 +0800
committermiwi <miwi@FreeBSD.org>2007-06-01 19:20:21 +0800
commitb5c9f03c725d763fab04456e6c48068090aa7321 (patch)
tree5015ac67dbaebb3614d71ae80eec534a61bb2e4c /lang/sbcl
parent5992f9076ea516576ab85b3bfae9a50ad602d25a (diff)
downloadfreebsd-ports-gnome-b5c9f03c725d763fab04456e6c48068090aa7321.tar.gz
freebsd-ports-gnome-b5c9f03c725d763fab04456e6c48068090aa7321.tar.zst
freebsd-ports-gnome-b5c9f03c725d763fab04456e6c48068090aa7321.zip
- Fix build
Submitted by: pointyhat via kris : NIIMI Satoshi <sa2c@sa2c.net> (maintainer)
Diffstat (limited to 'lang/sbcl')
-rw-r--r--lang/sbcl/Makefile5
-rw-r--r--lang/sbcl/files/patch-src_compiler_x86_parms.lisp11
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile
index dc448f5fdd54..e7fd3c06f05e 100644
--- a/lang/sbcl/Makefile
+++ b/lang/sbcl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sbcl
PORTVERSION= 1.0.6
+PORTREVISION= 1
CATEGORIES= lang lisp
MASTER_SITES= SF
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
@@ -48,14 +49,16 @@ BOOT_VERSION= ${PORTVERSION}
BOOT_ARCH_OS_LIST= x86-freebsd x86-64-freebsd
.elif ${ARCH} == "i386"
BOOT_ARCH_OS_LIST= x86-freebsd
+LISP_EXTRA_ARG= --dynamic-space-size 512
.elif ${ARCH} == "amd64"
BOOT_ARCH_OS_LIST= x86-64-freebsd
+LISP_EXTRA_ARG=
.endif
.for BOOT_ARCH_OS in ${BOOT_ARCH_OS_LIST}
BOOT_DISTNAME= ${PORTNAME}-${BOOT_VERSION}-${BOOT_ARCH_OS}
DISTFILES:= ${DISTFILES} ${BOOT_DISTNAME}-binary${EXTRACT_SUFX}
.endfor
-LISP_CMD= "${WRKDIR}/${BOOT_DISTNAME}/src/runtime/sbcl --core ${WRKDIR}/${BOOT_DISTNAME}/output/sbcl.core --disable-debugger --userinit /dev/null --sysinit /dev/null"
+LISP_CMD= "${WRKDIR}/${BOOT_DISTNAME}/src/runtime/sbcl --core ${WRKDIR}/${BOOT_DISTNAME}/output/sbcl.core ${LISP_EXTRA_ARG} --disable-debugger --userinit /dev/null --sysinit /dev/null"
.if ${OSVERSION} >= 600000
BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libc.so.5:${PORTSDIR}/misc/compat5x
.endif
diff --git a/lang/sbcl/files/patch-src_compiler_x86_parms.lisp b/lang/sbcl/files/patch-src_compiler_x86_parms.lisp
new file mode 100644
index 000000000000..08f32c26c01d
--- /dev/null
+++ b/lang/sbcl/files/patch-src_compiler_x86_parms.lisp
@@ -0,0 +1,11 @@
+--- src/compiler/x86/parms.lisp 8 May 2007 10:44:02 -0000 1.68
++++ src/compiler/x86/parms.lisp 1 Jun 2007 08:27:01 -0000
+@@ -205,7 +205,7 @@
+ (def!constant static-space-end #x011ff000)
+
+ (def!constant dynamic-space-start #x60000000)
+- (def!constant dynamic-space-end #xA0000000)
++ (def!constant dynamic-space-end #x80000000)
+
+ (def!constant linkage-table-space-start #x01200000)
+ (def!constant linkage-table-space-end #x012ff000))