From d83c3abc6b5dfe499cd615a604d62e88cace2084 Mon Sep 17 00:00:00 2001 From: PHO Date: Mon, 18 Feb 2013 18:29:51 +0900 Subject: [PATCH] 7.6.2 for x86_64-unknown-netbsd --- Makefile | 4 +++- bootstrap.mk | 11 +++++++---- distinfo | 3 +++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6126ece..d91cc7d 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,8 @@ ONLY_FOR_PLATFORM= \ Darwin-*-powerpc \ FreeBSD-*-i386 \ Linux-*-x86_64 \ - NetBSD-*-i386 + NetBSD-*-i386 \ + NetBSD-*-x86_64 # ----------------------------------------------------------------------------- @@ -32,6 +33,7 @@ DISTFILES= ${DISTNAME}-src.tar.bz2 #DISTFILES+= ${DISTNAME}-boot-i386-unknown-netbsdelf6.99.1.tar.bz2 DISTFILES+= ${DISTNAME}-boot-powerpc-apple-darwin.tar.xz #DISTFILES+= ${DISTNAME}-boot-x86_64-unknown-linux-gnu.tar.bz2 +DISTFILES+= ${DISTNAME}-boot-x86_64-unknown-netbsd.tar.xz .for i in ${DISTFILES:M*-boot-*} SITES.${i}= http://static.cielonegro.org/archive/ diff --git a/bootstrap.mk b/bootstrap.mk index e178a9d..a3fe3bc 100644 --- a/bootstrap.mk +++ b/bootstrap.mk @@ -11,12 +11,12 @@ # Similar to BOOT_ARCHIVE, but "*.tar" not "*.tar.xz". # .include "../../mk/bsd.prefs.mk" -.if ${MACHINE_ARCH} == "i386" && ${OPSYS} == "NetBSD" -BOOT_ARCHIVE= ${DISTNAME}-boot-i386-unknown-netbsdelf6.99.1.tar.bz2 - -.elif ${MACHINE_ARCH} == "i386" && ${OPSYS} == "FreeBSD" +.if ${MACHINE_ARCH} == "i386" && ${OPSYS} == "FreeBSD" BOOT_ARCHIVE= ${DISTNAME}-boot-i386-unknown-freebsd8.0.tar.bz2 +.elif ${MACHINE_ARCH} == "i386" && ${OPSYS} == "NetBSD" +BOOT_ARCHIVE= ${DISTNAME}-boot-i386-unknown-netbsdelf6.99.1.tar.bz2 + .elif ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "Darwin" BOOT_ARCHIVE= ${DISTNAME}-boot-powerpc-apple-darwin.tar.xz # Existence of libelf makes LeadingUnderscore being "NO", which is @@ -27,6 +27,9 @@ CONFLICTS+= libelf-[0-9]* .elif ${MACHINE_ARCH} == "x86_64" && ${OPSYS} == "Linux" BOOT_ARCHIVE= ${DISTNAME}-boot-x86_64-unknown-linux-gnu.tar.bz2 +.elif ${MACHINE_ARCH} == "x86_64" && ${OPSYS} == "NetBSD" +BOOT_ARCHIVE= ${DISTNAME}-boot-x86_64-unknown-netbsd.tar.xz + .else PKG_FAIL_REASON+= "internal error: unsupported platform" .endif diff --git a/distinfo b/distinfo index 75546ef..b62897b 100644 --- a/distinfo +++ b/distinfo @@ -3,6 +3,9 @@ $NetBSD$ SHA1 (ghc-7.6.2-boot-powerpc-apple-darwin.tar.xz) = 90a4e64842426dd956650e8ef2e17e9ef0b9a69b RMD160 (ghc-7.6.2-boot-powerpc-apple-darwin.tar.xz) = fb1b85b25195846f260b4f8082908e80bc7a6d0f Size (ghc-7.6.2-boot-powerpc-apple-darwin.tar.xz) = 33635664 bytes +SHA1 (ghc-7.6.2-boot-x86_64-unknown-netbsd.tar.xz) = 3d3e29ea427c9b26760fb232b77772bc63dd8938 +RMD160 (ghc-7.6.2-boot-x86_64-unknown-netbsd.tar.xz) = b1325b7ae4d39362073c24a226b6bd86d124569e +Size (ghc-7.6.2-boot-x86_64-unknown-netbsd.tar.xz) = 28778048 bytes SHA1 (ghc-7.6.2-src.tar.bz2) = 17329b0f1a401f3402cce13ba5e4cf8fbfa41a1d RMD160 (ghc-7.6.2-src.tar.bz2) = 3aa6cc4daaba1f14f28a7720d6d39cf1d9f982f2 Size (ghc-7.6.2-src.tar.bz2) = 110778081 bytes -- 2.40.0