-Use native binaries to bootstrap on amd64 not to require i386 binary
compatibility. - This would fix build failure on pointyhat. PR: ports/107804 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> (maintainer)
This commit is contained in:
parent
0f88f0e546
commit
604e514e2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182065
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= sbcl
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang lisp
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= sbcl
|
||||
@ -35,17 +36,22 @@ INFODIR= ${PREFIX}/${INFO_PATH}
|
||||
LISP_CMD= ""
|
||||
.else
|
||||
BOOT_VERSION= ${PORTVERSION}
|
||||
BOOT_ARCH= x86
|
||||
BOOT_OS= freebsd4
|
||||
BOOT_DISTNAME= ${PORTNAME}-${BOOT_VERSION}-${BOOT_ARCH}-${BOOT_OS}
|
||||
DISTFILES+= ${BOOT_DISTNAME}-binary${EXTRACT_SUFX}
|
||||
LISP_CMD= "${WRKDIR}/${BOOT_DISTNAME}/src/runtime/sbcl --core ${WRKDIR}/${BOOT_DISTNAME}/output/sbcl.core --disable-debugger --userinit /dev/null --sysinit /dev/null"
|
||||
.if ${OSVERSION} >= 500000
|
||||
.if ${ARCH} == i386
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libc.so.4:${PORTSDIR}/misc/compat4x
|
||||
.if ${.TARGETS} == makesum
|
||||
BOOT_ARCH_OS_LIST= x86-freebsd4 x86-64-freebsd5
|
||||
.elif ${ARCH} == i386
|
||||
BOOT_ARCH_OS_LIST= x86-freebsd4
|
||||
.elif ${ARCH} == amd64
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib32/compat/libc.so.4:${PORTSDIR}/misc/compat4x
|
||||
BOOT_ARCH_OS_LIST= x86-64-freebsd5
|
||||
.endif
|
||||
.for BOOT_ARCH_OS in ${BOOT_ARCH_OS_LIST}
|
||||
BOOT_DISTNAME= ${PORTNAME}-${BOOT_VERSION}-${BOOT_ARCH_OS}
|
||||
DISTFILES:= ${DISTFILES} ${BOOT_DISTNAME}-binary${EXTRACT_SUFX}
|
||||
.endfor
|
||||
LISP_CMD= "${WRKDIR}/${BOOT_DISTNAME}/src/runtime/sbcl --core ${WRKDIR}/${BOOT_DISTNAME}/output/sbcl.core --disable-debugger --userinit /dev/null --sysinit /dev/null"
|
||||
.if ${ARCH} == i386 && ${OSVERSION} >= 500000
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libc.so.4:${PORTSDIR}/misc/compat4x
|
||||
.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libc.so.5:${PORTSDIR}/misc/compat5x
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
@ -4,3 +4,6 @@ SIZE (sbcl-1.0.1-source.tar.bz2) = 2902375
|
||||
MD5 (sbcl-1.0.1-x86-freebsd4-binary.tar.bz2) = b1582532c4106c313413c15bd87d2866
|
||||
SHA256 (sbcl-1.0.1-x86-freebsd4-binary.tar.bz2) = 05c7bdfc1779b9d93b4921912d2d981a181b6bbbd921d38779bca4cb334214e6
|
||||
SIZE (sbcl-1.0.1-x86-freebsd4-binary.tar.bz2) = 7682276
|
||||
MD5 (sbcl-1.0.1-x86-64-freebsd5-binary.tar.bz2) = dac539f13bed6f9532e4cbfaf3b8cf7d
|
||||
SHA256 (sbcl-1.0.1-x86-64-freebsd5-binary.tar.bz2) = 6de4d55a55237e1c3d76a7c254237ac1f87b74edb4a82cd8249a7863e50a1e9d
|
||||
SIZE (sbcl-1.0.1-x86-64-freebsd5-binary.tar.bz2) = 7452935
|
||||
|
Loading…
Reference in New Issue
Block a user