"Solène Rapenne" <[email protected]> writes:
Hello,
Please find a version bump for sbcl and a flavor which enable thread.
There is no support for threads in sbcl for macppc and they are
considered
experimental on OpenBSD, so it should not be the default, hence a
thread
flavor.
Patch in attachment
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/sbcl/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile 3 Sep 2016 15:10:12 -0000 1.28
+++ Makefile 21 Oct 2016 09:30:03 -0000
@@ -6,8 +6,7 @@ USE_WXNEEDED = Yes
COMMENT= compiler and runtime system for ANSI Common Lisp
-V = 1.2.14
-REVISION = 1
+V = 1.3.10
DISTNAME= sbcl-${V}-source
PKGNAME= sbcl-${V}
WRKDIST= ${WRKDIR}/sbcl-${V}
@@ -28,9 +27,16 @@ MODGCC4_LANGS= c
WANTLIB= c m util
-PSEUDO_FLAVORS= native_bootstrap
+FLAVORS= threads
FLAVOR?=
+EXTRA_PARAMS=
+.if ${FLAVOR:Mthreads}
+EXTRA_PARAMS= --with-sb-threads
+.endif
+
+PSEUDO_FLAVORS= native_bootstrap
+
.if ${FLAVOR:Mnative_bootstrap}
BUILD_DEPENDS+= lang/sbcl
BOOTSTRAP_CMD= ${LOCALBASE}/bin/sbcl \
@@ -63,7 +69,7 @@ pre-configure:
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} /bin/sh make.sh \
- --prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}"
+ --prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}" ${EXTRA_PARAMS}
cd ${WRKSRC}/doc/manual && touch sbcl.texinfo && \
${SETENV} ${MAKE_ENV} ${GMAKE} asdf.info sbcl.info
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/sbcl/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo 11 Aug 2015 21:41:04 -0000 1.12
+++ distinfo 21 Oct 2016 09:30:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (sbcl-1.2.14-source.tar.bz2) = uRRt1kYMBbylCPbdqDADWAkRgz7t1R28CdjsqAsPXAY=
-SIZE (sbcl-1.2.14-source.tar.bz2) = 5565538
+SHA256 (sbcl-1.3.10-source.tar.bz2) = SlZ6rZGzFsIut1bdjlAs/ZqVpMZg+x+i6x5Q4Am4V3c=
+SIZE (sbcl-1.3.10-source.tar.bz2) = 5763563