diff options
author | bf <bf@FreeBSD.org> | 2011-12-09 20:54:44 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2011-12-09 20:54:44 +0800 |
commit | d96fbd52d918a281127877bb3cd01221e3f95cba (patch) | |
tree | c3310dc0d016fed203bf2205b3889466a4779a9a /lang | |
parent | e1c23f621630e1d514657d9233a0bdf530579f2f (diff) | |
download | freebsd-ports-gnome-d96fbd52d918a281127877bb3cd01221e3f95cba.tar.gz freebsd-ports-gnome-d96fbd52d918a281127877bb3cd01221e3f95cba.tar.zst freebsd-ports-gnome-d96fbd52d918a281127877bb3cd01221e3f95cba.zip |
update lang/sbcl to 1.0.54, and adjust dependent ports (this allows sbcl to
be build WITH_THREADS on recent versions of FreeBSD once again) [1]; rename
*.core files in sbcl and math/maxima so that they are not removed by
disk-cleaning scripts [2]; make it possible to use the makesum target in sbcl
WITH_SBCL; fix maxima build WITH_CMUCL, and place a default memory cap of
1GiB on amd64; reduce default output from a few targets in maxima, and defer
patch cleaning to the pre-build target to make debugging easier
PR: 162017 [1], 162680 [2]
Approved by: pav (portmgr)
Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sbcl/Makefile | 22 | ||||
-rw-r--r-- | lang/sbcl/distinfo | 8 | ||||
-rw-r--r-- | lang/sbcl/files/customize-target-features.lisp | 1 | ||||
-rw-r--r-- | lang/sbcl/files/patch-contrib_sb-posix_posix-tests.lisp | 20 | ||||
-rw-r--r-- | lang/sbcl/pkg-plist | 4 |
5 files changed, 13 insertions, 42 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile index c5eefaa43504..3766f7f09b0c 100644 --- a/lang/sbcl/Makefile +++ b/lang/sbcl/Makefile @@ -9,14 +9,11 @@ # PORTNAME= sbcl -PORTVERSION= 1.0.53.0 +PORTVERSION= 1.0.54.0 PORTEPOCH= 1 CATEGORIES= lang lisp MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R} \ ftp://ftp.SpringDaemons.com/soft/sbcl-binary/:binaries -#MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \ -# ftp://ftp.SpringDaemons.com/soft/sbcl-binary/:binaries -#MASTER_SITE_SUBDIR= sbcl/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${PORTVERSION:R}-source${SBCLPATCHLEVEL} MAINTAINER= bf@FreeBSD.org @@ -37,8 +34,6 @@ OPTIONS= SBCL "Use installed SBCL binary if available" off \ PDF "Build PDF documentation" on \ PS "Build PostScript documentation" off -#LICENSE= BSD -#LICENSE_FILE= ${WRKSRC}/COPYING MAN1= sbcl.1 INFODIR= ${PREFIX}/${INFO_PATH} .if !defined(NOPORTDOCS) @@ -87,10 +82,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} .include <bsd.port.pre.mk> -.if defined(WITH_THREADS) && ${OSVERSION} > 900027 -BROKEN = 'thread was already on queue' crash with libthr after r216641 -.endif - .if !defined(NOPORTDOCS) && (defined(WITH_PDF) || defined(WITH_PS)) BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz .endif @@ -121,17 +112,18 @@ DYNAMIC_SPACE_SIZE?= 512 .else PLIST_SUB+= I386_ONLY="@comment " AMD64_ONLY="" SBCLCONFIG= Config.x86-64-freebsd +DYNAMIC_SPACE_SIZE?= 1024 .endif # If WITH_SBCL is defined, try to use existing "sbcl" first. -.if defined(WITH_SBCL) && exists(${LOCALBASE}/bin/sbcl) +.if defined(WITH_SBCL) && exists(${LOCALBASE}/bin/sbcl) && !make(makesum) LISP_CMD= "" .else BOOT_VERSION= 1.0.31 . if make(makesum) -BOOT_ARCH_OS_LIST= amd64-freebsd8 amd64-freebsd7 amd64-freebsd6 \ - i386-freebsd8 i386-freebsd7 i386-freebsd6 +BOOT_ARCH_OS_LIST= amd64-freebsd8 amd64-freebsd7 i386-freebsd8 \ + i386-freebsd7 . else . if ${OSVER_MAJOR} > 8 # We'll use 8.x bootstrap for now BOOT_ARCH_OS_LIST= ${ARCH}-freebsd8 @@ -179,6 +171,8 @@ post-patch: .ifdef(NM) @${ECHO_CMD} "NM=${NM} -gp" >> ${WRKSRC}/src/runtime/${SBCLCONFIG} .endif + @${GREP} -Fe '.core' -l -r ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e 's|\.core|_core|g' @${REINPLACE_CMD} \ -e 's|/etc/sbclrc|${PREFIX}&|g' \ -e 's|/usr/local|${PREFIX}|g' \ @@ -220,7 +214,7 @@ do-build: do-install: ${MKDIR} ${SBCL_HOME}/ ${INSTALL_PROGRAM} ${WRKSRC}/src/runtime/sbcl ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/output/sbcl.core ${SBCL_HOME}/ + ${INSTALL_DATA} ${WRKSRC}/output/sbcl_core ${SBCL_HOME}/ .for MOD in ${CONTRIB_MODULES} ${MKDIR} ${SBCL_HOME}/${MOD} ${INSTALL_DATA} ${WRKSRC}/contrib/${MOD}/*.lisp ${SBCL_HOME}/${MOD}/ diff --git a/lang/sbcl/distinfo b/lang/sbcl/distinfo index 07cd8dc94e11..88f42fc15dec 100644 --- a/lang/sbcl/distinfo +++ b/lang/sbcl/distinfo @@ -1,14 +1,10 @@ -SHA256 (sbcl-1.0.53-source.tar.bz2) = 49c15dda91fd27f0e7d71a349e391d2c9a4fa753c452881873695309fe154b0a -SIZE (sbcl-1.0.53-source.tar.bz2) = 3583606 +SHA256 (sbcl-1.0.54-source.tar.bz2) = 8d850d94f8f6fb8dcc6dcb44fcc0ec07e97e95037d7864fc1edaeb5f3e1ce1c6 +SIZE (sbcl-1.0.54-source.tar.bz2) = 3600921 SHA256 (sbcl-1.0.31-amd64-freebsd8-binary.tar.bz2) = 06a1e4e3a5f5f8e012ff6037a51624d7d1f34bff0979ce45e70418a293412b4e SIZE (sbcl-1.0.31-amd64-freebsd8-binary.tar.bz2) = 8397764 SHA256 (sbcl-1.0.31-amd64-freebsd7-binary.tar.bz2) = fcbd5ed1948312a7b6eff7e6daf736e41be945a2c57bcee4b64f172ddde518b8 SIZE (sbcl-1.0.31-amd64-freebsd7-binary.tar.bz2) = 8398964 -SHA256 (sbcl-1.0.31-amd64-freebsd6-binary.tar.bz2) = f527e60d58960f68130ee735f7a24f409dd5f87f530264e77251ba402c42921d -SIZE (sbcl-1.0.31-amd64-freebsd6-binary.tar.bz2) = 8393398 SHA256 (sbcl-1.0.31-i386-freebsd8-binary.tar.bz2) = fd2348749a2babf301a99449d246b349a1285fc0bca8b83bde0bfa7187cf3dd7 SIZE (sbcl-1.0.31-i386-freebsd8-binary.tar.bz2) = 8475244 SHA256 (sbcl-1.0.31-i386-freebsd7-binary.tar.bz2) = 5202f6d7a8a1f3b1f19cbd4c65d874b85e8015fc5efec71bffef407c25edbe77 SIZE (sbcl-1.0.31-i386-freebsd7-binary.tar.bz2) = 8474568 -SHA256 (sbcl-1.0.31-i386-freebsd6-binary.tar.bz2) = 601efa15c3b9d6b3d3b350d743ae819118f832d1fa29bd9e1eedef99c1e5952f -SIZE (sbcl-1.0.31-i386-freebsd6-binary.tar.bz2) = 8473661 diff --git a/lang/sbcl/files/customize-target-features.lisp b/lang/sbcl/files/customize-target-features.lisp index e4e7bc26f603..299995966fca 100644 --- a/lang/sbcl/files/customize-target-features.lisp +++ b/lang/sbcl/files/customize-target-features.lisp @@ -4,5 +4,4 @@ (disable (x) (setf features (remove x features)))) (enable :sb-thread) - (enable :sb-lutex) features)) diff --git a/lang/sbcl/files/patch-contrib_sb-posix_posix-tests.lisp b/lang/sbcl/files/patch-contrib_sb-posix_posix-tests.lisp deleted file mode 100644 index a793161f7306..000000000000 --- a/lang/sbcl/files/patch-contrib_sb-posix_posix-tests.lisp +++ /dev/null @@ -1,20 +0,0 @@ ---- contrib/sb-posix/posix-tests.lisp.orig 2011-11-06 15:31:02.000000000 -0500 -+++ contrib/sb-posix/posix-tests.lisp 2011-11-22 10:26:13.000000000 -0500 -@@ -174,7 +174,7 @@ - (typep - (sb-posix:syscall-errno c) - '(member -- #+darwin -+ #+(or darwin freebsd) - #.sb-posix:eisdir - #+win32 - #.sb-posix::eacces -@@ -182,7 +182,7 @@ - #.sb-posix::enotempty - #+sunos - #.sb-posix::einval -- #-(or darwin win32 sunos) -+ #-(or darwin freebsd win32 sunos) - #.sb-posix::ebusy)))) t) - - (deftest rmdir.error.4 diff --git a/lang/sbcl/pkg-plist b/lang/sbcl/pkg-plist index cdcd4d473c4a..9a9b15e09286 100644 --- a/lang/sbcl/pkg-plist +++ b/lang/sbcl/pkg-plist @@ -56,6 +56,8 @@ lib/sbcl/sb-cltl2/sb-cltl2.asd lib/sbcl/sb-cltl2/sb-cltl2.fasl lib/sbcl/sb-cltl2/tests.fasl lib/sbcl/sb-cltl2/tests.lisp +lib/sbcl/sb-concurrency/gate.fasl +lib/sbcl/sb-concurrency/gate.lisp lib/sbcl/sb-concurrency/mailbox.fasl lib/sbcl/sb-concurrency/mailbox.lisp lib/sbcl/sb-concurrency/package.fasl @@ -175,7 +177,7 @@ lib/sbcl/sb-simple-streams/terminal.fasl lib/sbcl/sb-simple-streams/terminal.lisp lib/sbcl/sb-sprof/sb-sprof.fasl lib/sbcl/sb-sprof/sb-sprof.lisp -lib/sbcl/sbcl.core +lib/sbcl/sbcl_core lib/sbcl/site-systems/.keep_me %%PORTDOCS%%%%DOCSDIR%%/BUGS %%PORTDOCS%%%%DOCSDIR%%/COPYING |