X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-ghc.git;a=blobdiff_plain;f=bootstrap.mk;h=a3fe3bc9742c15f504d3d45c833a783680b109d8;hp=e178a9d6b31417da8b6af95d53d5c533db5df602;hb=d83c3abc6b5dfe499cd615a604d62e88cace2084;hpb=7b7085215bdf40a62ccd36488a9840e01f5ceab7 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