Hi,
Here is an update to sbcl. I've tested and built it on amd64 (both with
clisp and self).
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/sbcl/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile 10 Dec 2013 17:37:54 -0000 1.22
+++ Makefile 22 Jul 2015 08:07:17 -0000
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS = amd64 i386 powerpc
COMMENT= compiler and runtime system for ANSI Common Lisp
-V = 1.1.14
+V = 1.2.13
DISTNAME= sbcl-${V}-source
PKGNAME= sbcl-${V}
WRKDIST= ${WRKDIR}/sbcl-${V}
@@ -25,8 +25,6 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE
PSEUDO_FLAVORS= native_bootstrap
FLAVOR?=
-USE_GROFF = Yes
-
.if ${FLAVOR:Mnative_bootstrap}
BUILD_DEPENDS+= lang/sbcl
BOOTSTRAP_CMD= ${LOCALBASE}/bin/sbcl \
@@ -40,9 +38,7 @@ TEST_DEPENDS = devel/gmp
USE_GMAKE= Yes
PORTHOME= ${TMPDIR}
MAKE_ENV= GNUMAKE=${GMAKE} INSTALL_ROOT=${PREFIX} \
- MAN_DIR=${PREFIX}/man INFO_DIR=${PREFIX}/info \
- LINKFLAGS="-nopie" LDFLAGS="-nopie"
-CFLAGS += -fno-pie
+ MAN_DIR=${PREFIX}/man INFO_DIR=${PREFIX}/info
# Upstream asks that packagers append something like this to the
# version to distinguish official tarballs from third-party packages.
@@ -59,10 +55,10 @@ pre-configure:
mv ${VERSION_FILE}.new ${VERSION_FILE}
do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SBCL_CONTRIB_TARGET=all \
- /bin/sh make.sh --prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}"
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} /bin/sh make.sh \
+ --prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}"
cd ${WRKSRC}/doc/manual && touch sbcl.texinfo && \
- ${SETENV} ${MAKE_ENV} ${GMAKE} asdf.info sbcl.info html
+ ${SETENV} ${MAKE_ENV} ${GMAKE} asdf.info sbcl.info
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} /bin/sh install.sh
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/sbcl/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo 10 Dec 2013 17:37:54 -0000 1.11
+++ distinfo 22 Jul 2015 08:07:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (sbcl-1.1.14-source.tar.bz2) =
Zx5lo2HYNTE6ureUBMlU2lcDyO1c7qmC3efvTrDBGm8=
-SIZE (sbcl-1.1.14-source.tar.bz2) = 4218825
+SHA256 (sbcl-1.2.13-source.tar.bz2) =
5tk6lMv4IbLFAKlEDKZAWI6axpFNui9rVEWl4U7rEgU=
+SIZE (sbcl-1.2.13-source.tar.bz2) = 5567609
Index: patches/patch-contrib_asdf_Makefile
===================================================================
RCS file: patches/patch-contrib_asdf_Makefile
diff -N patches/patch-contrib_asdf_Makefile
--- patches/patch-contrib_asdf_Makefile 10 Dec 2013 17:37:54 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-contrib_asdf_Makefile,v 1.1 2013/12/10 17:37:54 joshe Exp $
---- contrib/asdf/Makefile.orig Sat Nov 30 06:28:17 2013
-+++ contrib/asdf/Makefile Sun Dec 8 18:46:33 2013
-@@ -1,6 +1,8 @@
- DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/
- FASL=$(DEST)/asdf.fasl
-
-+all:: fasl
-+
- fasl:: $(FASL)
- $(FASL):: asdf.lisp ../../output/sbcl.core
- if [ -d asdf-upstream ] ; then rm -rf asdf-upstream ; fi
Index: patches/patch-contrib_vanilla-module_mk
===================================================================
RCS file: patches/patch-contrib_vanilla-module_mk
diff -N patches/patch-contrib_vanilla-module_mk
--- patches/patch-contrib_vanilla-module_mk 10 Dec 2013 17:37:54 -0000
1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-contrib_vanilla-module_mk,v 1.2 2013/12/10 17:37:54 joshe Exp $
---- contrib/vanilla-module.mk.orig Sat Nov 30 06:28:17 2013
-+++ contrib/vanilla-module.mk Sun Dec 8 18:42:59 2013
-@@ -2,6 +2,8 @@ DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/
- FASL=$(DEST)/$(MODULE).fasl
- ASD=$(DEST)/$(MODULE).asd
-
-+all:: $(FASL) $(ASD)
-+
- fasl:: $(FASL)
- $(FASL):: $(MODULE).lisp ../../output/sbcl.core
- $(SBCL) --eval '(compile-file (format nil
"SYS:CONTRIB;~:@(~A~);~:@(~A~).LISP" "$(MODULE)" "$(MODULE)") :output-file
(parse-native-namestring "$@"))' </dev/null
Index: patches/patch-make-target-contrib_sh
===================================================================
RCS file: patches/patch-make-target-contrib_sh
diff -N patches/patch-make-target-contrib_sh
--- patches/patch-make-target-contrib_sh 10 Dec 2013 17:37:54 -0000
1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-$OpenBSD: patch-make-target-contrib_sh,v 1.4 2013/12/10 17:37:54 joshe Exp $
-
-Allow the makefile target to be overridden so that the contribs may be
-built first (perhaps under USE_SYSTRACE=Yes) and the tests run later
-in do-regress.
-
---- make-target-contrib.sh.orig Sat Nov 30 06:28:18 2013
-+++ make-target-contrib.sh Sun Dec 8 18:03:12 2013
-@@ -73,7 +73,7 @@ for i in $contribs_to_build; do
- test -f obj/asdf-cache/$i/test-passed.test-report && rm
obj/asdf-cache/$i/test-passed.test-report
- mkdir -p obj/asdf-cache/$i/
- # hack to get exit codes right.
-- if $GNUMAKE -C contrib/$i test < /dev/null 2>&1 && touch
obj/asdf-cache/$i/test-passed.test-report ; then
-+ if $GNUMAKE -C contrib/$i ${SBCL_CONTRIB_TARGET:-test} < /dev/null 2>&1
&& touch obj/asdf-cache/$i/test-passed.test-report ; then
- :
- else
- exit $?
Index: patches/patch-src_runtime_GNUmakefile
===================================================================
RCS file: patches/patch-src_runtime_GNUmakefile
diff -N patches/patch-src_runtime_GNUmakefile
--- patches/patch-src_runtime_GNUmakefile 11 Aug 2012 23:02:23 -0000
1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$OpenBSD: patch-src_runtime_GNUmakefile,v 1.5 2012/08/11 23:02:23 pascal Exp $
-
-Don't override external CFLAGS and LINKFLAGS.
-
---- src/runtime/GNUmakefile.orig Mon Dec 5 00:09:01 2011
-+++ src/runtime/GNUmakefile Sat Aug 11 17:05:14 2012
-@@ -18,14 +18,14 @@ TARGET=sbcl
- # Config file. Most of them are same on most systems right now.
- # If you need to override one of these, do it in Config.
- LD = ld
--LINKFLAGS = -g
-+LINKFLAGS += -g
- NM = nm -gp
- DEPEND_FLAGS = -MM
- GREP = grep
-
- include ../../output/prefix.def
-
--CFLAGS = -g -Wall -Wsign-compare -O3
-+CFLAGS += -Wall -Wsign-compare
- ASFLAGS = $(CFLAGS)
- CPPFLAGS = -I. -DSBCL_PREFIX=\"$(SBCL_PREFIX)\"
-
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/sbcl/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST 10 Dec 2013 17:37:54 -0000 1.8
+++ pkg/PLIST 22 Jul 2015 08:07:17 -0000
@@ -25,6 +25,8 @@ lib/sbcl/contrib/sb-introspect.asd
lib/sbcl/contrib/sb-introspect.fasl
lib/sbcl/contrib/sb-md5.asd
lib/sbcl/contrib/sb-md5.fasl
+lib/sbcl/contrib/sb-mpfr.asd
+lib/sbcl/contrib/sb-mpfr.fasl
lib/sbcl/contrib/sb-posix.asd
lib/sbcl/contrib/sb-posix.fasl
lib/sbcl/contrib/sb-queue.asd
@@ -37,6 +39,7 @@ lib/sbcl/contrib/sb-simple-streams.asd
lib/sbcl/contrib/sb-simple-streams.fasl
lib/sbcl/contrib/sb-sprof.asd
lib/sbcl/contrib/sb-sprof.fasl
+lib/sbcl/contrib/uiop.fasl
lib/sbcl/sbcl.core
lib/sbcl/site-systems/
@man man/man1/sbcl.1
@@ -45,6 +48,3 @@ share/doc/sbcl/BUGS
share/doc/sbcl/COPYING
share/doc/sbcl/CREDITS
share/doc/sbcl/NEWS
-share/doc/sbcl/asdf.html
-share/doc/sbcl/html/
-share/doc/sbcl/sbcl.html
--
Manuel Giraud