]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/commitdiff
7.6.2 for x86_64-unknown-netbsd
authorPHO <pho@cielonegro.org>
Mon, 18 Feb 2013 09:29:51 +0000 (18:29 +0900)
committerPHO <pho@cielonegro.org>
Mon, 18 Feb 2013 09:29:51 +0000 (18:29 +0900)
Makefile
bootstrap.mk
distinfo

index 6126ece1c6c0365baf948974e3eb3156c53ef9de..d91cc7d5cb570c1fa01d2564c53d20ec98504fb5 100644 (file)
--- 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/
index e178a9d6b31417da8b6af95d53d5c533db5df602..a3fe3bc9742c15f504d3d45c833a783680b109d8 100644 (file)
 #   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
index 75546efdfa4096a5b5d4361a7867f2efb54ab3d7..b62897b42005d9f46feb707917a4ad0e096f88c7 100644 (file)
--- 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