diff options
-rw-r--r-- | lang/sbcl/Makefile | 10 | ||||
-rw-r--r-- | lang/sbcl/files/patch-disable-failing-tests | 19 |
2 files changed, 20 insertions, 9 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile index 31e6668aa075..c78de585ebcd 100644 --- a/lang/sbcl/Makefile +++ b/lang/sbcl/Makefile @@ -34,14 +34,10 @@ CPPFLAGS+= -I. SBCL_HOME= ${PREFIX}/lib/sbcl/ OPTIONS= SBCL "Use installed SBCL binary if available" off \ + THREADS "Enable experimental threading support" off \ PDF "Build PDF documentation" on \ PS "Build PostScript documentation" off -# -# Broken -# -# THREADS "Enable experimental threading support" off - #LICENSE= BSD #LICENSE_FILE= ${WRKSRC}/COPYING MAN1= sbcl.1 @@ -92,10 +88,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} .include <bsd.port.pre.mk> -.if defined(WITH_THREADS) -IGNORE= does not build with threads, disable threads for now -.endif - .if !defined(NOPORTDOCS) || !defined(WITHOUT_PDF) || !defined(WITHOUT_PS) BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz .endif diff --git a/lang/sbcl/files/patch-disable-failing-tests b/lang/sbcl/files/patch-disable-failing-tests new file mode 100644 index 000000000000..e30e0498c719 --- /dev/null +++ b/lang/sbcl/files/patch-disable-failing-tests @@ -0,0 +1,19 @@ +--- contrib/sb-concurrency/tests/test-mailbox.lisp.orig 2011-06-05 12:35:33.000000000 -0700 ++++ contrib/sb-concurrency/tests/test-mailbox.lisp 2011-07-14 13:27:49.000000000 -0700 +@@ -40,7 +40,7 @@ + + ;;; FIXME: Several tests disabled on Darwin due to hangs. Something not right + ;;; with mailboxes -- or possibly semaphores -- there. +-#+(and sb-thread (not darwin)) ++#+(and sb-thread (not (or darwin freebsd))) + (progn + + ;; Dummy struct for ATOMIC-INCF to work. +@@ -181,6 +181,7 @@ + (:errors . 0) + (:timeouts . 0)) + ++#-(and sb-thread freebsd) + (deftest mailbox.interrupts-safety.1 + (multiple-value-bind (received garbage errors timeouts) + (test-mailbox-producers-consumers |