diff options
author | miwi <miwi@FreeBSD.org> | 2007-01-11 15:41:57 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-01-11 15:41:57 +0800 |
commit | adfad66ec345ff389a3ec69753c5d97e7a83e18f (patch) | |
tree | f87005eeb71bc3f39ad92949ff8c0c6aec68d971 /lang/sbcl | |
parent | 89c7c9da953468d360bf78630bdd6a7b43931fa2 (diff) | |
download | freebsd-ports-gnome-adfad66ec345ff389a3ec69753c5d97e7a83e18f.tar.gz freebsd-ports-gnome-adfad66ec345ff389a3ec69753c5d97e7a83e18f.tar.zst freebsd-ports-gnome-adfad66ec345ff389a3ec69753c5d97e7a83e18f.zip |
-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)
Diffstat (limited to 'lang/sbcl')
-rw-r--r-- | lang/sbcl/Makefile | 24 | ||||
-rw-r--r-- | lang/sbcl/distinfo | 3 |
2 files changed, 18 insertions, 9 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile index 1f0221308df8..d7abc5717ad6 100644 --- a/lang/sbcl/Makefile +++ b/lang/sbcl/Makefile @@ -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 diff --git a/lang/sbcl/distinfo b/lang/sbcl/distinfo index c54540678c6a..9db28ca0d3bd 100644 --- a/lang/sbcl/distinfo +++ b/lang/sbcl/distinfo @@ -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 |