tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sbcl update



For whatever reason I cannot clone the wip repository.  In any case I changed the sbcl source/package to the latest version (2.3.2) following the Makefile's instruction as to how to get the latest version. Had to do a little PLIST cleanup with bmake print-PLIST>PLIST. Attached files just in case.  I know is not per process...

Regards

Pete

PS. Should I have used the gnats-bugs as stated in the guide? I browsed through it but couldn't figure out how to proceed (category/etc.)
$NetBSD: distinfo,v 1.74 2022/06/12 19:05:44 wiz Exp $

BLAKE2s (sbcl-2.3.2-source.tar.bz2) = 46e4c40e9c527368970480a9621b06918b11f9788299704e6bd128f97ed18403
SHA512 (sbcl-2.3.2-source.tar.bz2) = a6e5a5f1a27485546a85a5cb42c3c92347b0d0068e7402098b1dd358b98908b498a324f96424fd7caa3b9ef19c1584e1e5ec9960556be53111204adb77cd365b
Size (sbcl-2.3.2-source.tar.bz2) = 7344972 bytes
SHA1 (patch-ab) = b272bee6fc39ede638cbf71106150044a2977596
SHA1 (patch-clean.sh) = 8dd795727c2e2cba2c4b5ca8cc4972c89eb6ecaa
SHA1 (patch-make-genesis-2.sh) = 5d61f2662795c93aabfaa18ef686725d2ed9384a
SHA1 (patch-make-host-1.sh) = 7ecb23bf3cd4ee091a279503668a539a533b1196
SHA1 (patch-make-host-2.sh) = c0ac2f16a670a6db2ff69b863d1f990f7ba0bef0
SHA1 (patch-make-target-1.sh) = 9064623b0cba2fc6869f3d29ea090d55b7bdaf17
SHA1 (patch-make-target-2.sh) = 7b288c3c320adb89cefa78a2fc93223ea4b3b66f
SHA1 (patch-slam.sh) = 2f4d28b2d1572cd624a54f493cc7e30c3c491a3f
# $NetBSD: Makefile,v 1.95 2022/06/12 14:48:12 gdt Exp $

DISTNAME=		${PKGNAME_NOREV}-source
PKGNAME=		sbcl-2.3.2
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=sbcl/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
HOMEPAGE=		http://www.sbcl.org/
COMMENT=		SBCL, a Common Lisp implementation
LICENSE=		mit

# SBCL creates a new release with minor updates and fixes every
# month.  The maintainer of this package does not have the time
# to build, test, update, etc. this package that often.  If you
# would like a newer (or older) version, this works very often:
# 1) change the PKGNAME variable above as desired
# 2) make fetch && make makesum && make package

USE_TOOLS+=		gmake

WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}

.include "../../mk/bsd.prefs.mk"

#
# Bootstrap section.
#
# SBCL needs an existing Common Lisp system to build it...
# Currently allowed systems are CLISP, CMUCL, OpenMCL, ABCL and SBCL itself.
#
#  If SBCL is installed in an unusual place when trying to build this
#  package, you may need to set the full path in SBCL_BOOT_SYSTEM and
#  build the package with "SBCL_HOME=/path/to/SBCL/core/image/ make"

#SBCL_BOOT_SYSTEM=	clisp			# CLisp
#SBCL_BOOT_SYSTEM=	"lisp -batch"		# CMUCL
#SBCL_BOOT_SYSTEM=	"openmcl --batch"	# OpenMCL
#SBCL_BOOT_SYSTEM=	sbcl			# SBCL
#SBCL_BOOT_SYSTEM=	abcl			# ABCL

.if !defined(SBCL_BOOT_SYSTEM)
# Use "clisp -ansi -on-error abort" to make the build more reproducible,
# per Christophe Rhodes:
SBCL_BOOT_SYSTEM=	clisp -norc -ansi -on-error abort
BUILD_DEPENDS+=		clisp-[0-9]*:../../lang/clisp
UNLIMIT_RESOURCES=	datasize
.elif ${SBCL_BOOT_SYSTEM} == abcl
BUILD_DEPENDS+=		abcl-[0-9]*:../../lang/abcl
.endif

SUBST_CLASSES+=			fix-paths
SUBST_STAGE.fix-paths=		pre-configure
SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
SUBST_FILES.fix-paths=		doc/sbcl.1
SUBST_VARS.fix-paths=		PREFIX
SUBST_SED.fix-paths+=		-e 's,/var/log,${VARBASE}/log,g'

SUBST_CLASSES+=			fix-bins
SUBST_STAGE.fix-bins=		pre-configure
SUBST_FILES.fix-bins=		src/runtime/Config.x86-64-sunos
SUBST_FILES.fix-bins+=		src/runtime/Config.x86-sunos
SUBST_FILES.fix-bins+=		contrib/asdf-module.mk
SUBST_SED.fix-bins=		-e 's,nm ,/usr/bin/nm ,'
SUBST_SED.fix-bins+=		-e 's,ggrep,grep,'
SUBST_SED.fix-bins+=		-e 's,=199506L,=200112L,'
SUBST_SED.fix-bins+=		-e 's,=500,=600,'

BUILD_DEFS+=			VARBASE

.if defined(TOOLS_PLATFORM.paxctl)
SBCL_PAXCTL=	${PAXCTL} +m
MAKE_ENV+=	SBCL_PAXCTL=${SBCL_PAXCTL:Q}
.endif

INSTALL_ENV+=	BUILD_ROOT=${DESTDIR:Q}
INSTALL_ENV+=	INSTALL_ROOT=${PREFIX:Q}
INSTALL_ENV+=	MAN_DIR=${PREFIX:Q}/${PKGMANDIR}

NOT_PAX_MPROTECT_SAFE+=	bin/sbcl

.if !empty(MACHINE_PLATFORM:MSunOS-*-i386)
SBCL_ARCH_ARGS=		"--arch=x86"
.elif !empty(MACHINE_PLATFORM:MSunOS-*-x86_64)
SBCL_ARCH_ARGS=		"--arch=x86-64"
.endif

do-build:
	${RUN} ${_ULIMIT_CMD} \
	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} make.sh --prefix=${PREFIX} ${SBCL_ARCH_ARGS} --xc-host=${SBCL_BOOT_SYSTEM:Q}

post-build:
	cd ${WRKSRC} && ${RM} -f contrib/sb-cover/test-output/*

do-install:
	${RUN} ${_ULIMIT_CMD} \
	cd ${WRKSRC} && ${PKGSRC_SETENV} ${INSTALL_ENV} ${SH} install.sh
	${RM} -f ${DESTDIR}${PREFIX}/lib/sbcl/sb-posix/test-output/write-test.txt
	${RM} -f ${DESTDIR}${PREFIX}/lib/sbcl/sb-posix/test-output/read-test.txt
	${RM} -f ${DESTDIR}${PREFIX}/lib/sbcl/asdf-install/installer.lisp.orig

do-test:
#	for f in compiler.pure.lisp interface.pure.lisp compiler.impure.lisp debug.impure.lisp interface.impure.lisp; do mv ${WRKSRC}/tests/$$f ${WRKSRC}/tests/$$f.off || :; done
	${RUN} ${_ULIMIT_CMD} \
	cd ${WRKSRC}/tests && ${PKGSRC_SETENV} ${TEST_ENV} ${SH} ./run-tests.sh

.if ${MACHINE_ARCH} == "x86_64"
PLIST_SUBST+=	SUFX64=-64
.else
PLIST_SUBST+=	SUFX64=
.endif

.include "../../mk/bsd.pkg.mk"
@comment $NetBSD$
bin/sbcl
lib/sbcl/contrib/asdf.fasl
lib/sbcl/contrib/sb-aclrepl.asd
lib/sbcl/contrib/sb-aclrepl.fasl
lib/sbcl/contrib/sb-bsd-sockets.asd
lib/sbcl/contrib/sb-bsd-sockets.fasl
lib/sbcl/contrib/sb-capstone.asd
lib/sbcl/contrib/sb-capstone.fasl
lib/sbcl/contrib/sb-cltl2.asd
lib/sbcl/contrib/sb-cltl2.fasl
lib/sbcl/contrib/sb-concurrency.asd
lib/sbcl/contrib/sb-concurrency.fasl
lib/sbcl/contrib/sb-cover.asd
lib/sbcl/contrib/sb-cover.fasl
lib/sbcl/contrib/sb-executable.asd
lib/sbcl/contrib/sb-executable.fasl
lib/sbcl/contrib/sb-gmp.asd
lib/sbcl/contrib/sb-gmp.fasl
lib/sbcl/contrib/sb-grovel.asd
lib/sbcl/contrib/sb-grovel.fasl
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
lib/sbcl/contrib/sb-queue.fasl
lib/sbcl/contrib/sb-rotate-byte.asd
lib/sbcl/contrib/sb-rotate-byte.fasl
lib/sbcl/contrib/sb-rt.asd
lib/sbcl/contrib/sb-rt.fasl
lib/sbcl/contrib/sb-simd.asd
lib/sbcl/contrib/sb-simd.fasl
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/sbcl.mk
man/man1/sbcl.1
share/doc/sbcl/BUGS
share/doc/sbcl/COPYING
share/doc/sbcl/CREDITS
share/doc/sbcl/NEWS
@pkgdir share/info
@pkgdir share/doc/sbcl/html


Home | Main Index | Thread Index | Old Index