pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc7 Uploaded bootkits for NetBSD/amd64, FreeBSD/...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7d0f253b710b
branches: trunk
changeset: 646555:7d0f253b710b
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 11 09:38:08 2015 +0000
description:
Uploaded bootkits for NetBSD/amd64, FreeBSD/i386 and Darwin/ppc to LOCAL_PORTS
They derived from safe bootkits in wip/ghc. See my previous commit for
details.
diffstat:
lang/ghc7/bootstrap.mk | 60 +++++++++++++++++++++++++++++--------------------
lang/ghc7/distinfo | 11 ++++++++-
2 files changed, 45 insertions(+), 26 deletions(-)
diffs (124 lines):
diff -r 3b01908211c2 -r 7d0f253b710b lang/ghc7/bootstrap.mk
--- a/lang/ghc7/bootstrap.mk Wed Feb 11 09:11:59 2015 +0000
+++ b/lang/ghc7/bootstrap.mk Wed Feb 11 09:38:08 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bootstrap.mk,v 1.20 2015/02/11 07:49:51 pho Exp $
+# $NetBSD: bootstrap.mk,v 1.21 2015/02/11 09:38:08 pho Exp $
# -----------------------------------------------------------------------------
# Select a bindist of bootstrapping compiler on a per-platform basis.
#
@@ -9,61 +9,71 @@
# BOOT_TARBALL
# Similar to BOOT_ARCHIVE, but "*.tar" not "*.tar.xz".
#
+# BOOT_VERSION
+# Version of the bootstrapping compiler to use. This can be
+# overriden for specific platforms.
+#
.include "../../mk/bsd.prefs.mk"
-BOOT_ARCHIVE:= # empty
+# Use the same version as the package itself by default.
+BOOT_VERSION:= ${PKGNAME:C/^.*-//}
.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-powerpc-apple-darwin.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
-
-# Existence of libelf makes LeadingUnderscore being "NO", which is
-# incorrect for this platform. See ${WRKSRC}/aclocal.m4
-# (FP_LEADING_UNDERSCORE)
-CONFLICTS+= libelf-[0-9]*
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-powerpc-apple-darwin.tar.xz
+DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE} # Available in LOCAL_PORTS
.endif
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-i386) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-i386-unknown-freebsd.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-i386-unknown-freebsd.tar.xz
+DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE} # Available in LOCAL_PORTS
+.endif
+
+.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo)
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-x86_64-unknown-linux.tar.xz
+#DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE}
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-i386-unknown-netbsd.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-i386-unknown-netbsd.tar.xz
+#DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE}
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-x86_64-unknown-netbsd.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
-.endif
-
-.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-x86_64-unknown-linux.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-x86_64-unknown-netbsd.tar.xz
+DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE} # Available in LOCAL_PORTS
.endif
.if !empty(MACHINE_PLATFORM:MSunOS-5.11-i386) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-i386-unknown-solaris2.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-i386-unknown-solaris2.tar.xz
+#DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE}
.endif
.if !empty(MACHINE_PLATFORM:MSunOS-5.11-x86_64) || make(distinfo)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-x86_64-unknown-solaris2.tar.xz
-#DISTFILES+= ${BOOT_ARCHIVE}
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-x86_64-unknown-solaris2.tar.xz
+#DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE}
.endif
.if empty(BOOT_ARCHIVE)
-BOOT_ARCHIVE= ${PKGNAME_NOREV}-boot-unknown.tar.xz
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-unknown.tar.xz
PKG_FAIL_REASON+= "internal error: unsupported platform"
.endif
+# For package developers, please do not upload any bootkits unsafely
+# built. That is, machines shared with someone or on a cloud hosting
+# service should be avoided for building bootkits.
.for i in ${DISTFILES:M*-boot-*}
SITES.${i}?= ${MASTER_SITE_LOCAL}
.endfor
BOOT_TARBALL= ${BOOT_ARCHIVE:C/\.xz$//}
+# Existence of libelf makes LeadingUnderscore being "NO", which is
+# incorrect for this platform. See ${WRKSRC}/aclocal.m4
+# (FP_LEADING_UNDERSCORE)
+.if ${OPSYS} == "Darwin"
+CONFLICTS+= libelf-[0-9]*
+.endif
+
# FreeBSD < 10 surprisingly doesn't have a native iconv so we need to
# use pkgsrc libiconv for this OPSYS. And if a bootkit depends on
# pkgsrc libiconv, the "normal" build must do the same because GHC
diff -r 3b01908211c2 -r 7d0f253b710b lang/ghc7/distinfo
--- a/lang/ghc7/distinfo Wed Feb 11 09:11:59 2015 +0000
+++ b/lang/ghc7/distinfo Wed Feb 11 09:38:08 2015 +0000
@@ -1,5 +1,14 @@
-$NetBSD: distinfo,v 1.8 2015/02/06 01:24:48 pho Exp $
+$NetBSD: distinfo,v 1.9 2015/02/11 09:38:08 pho Exp $
+SHA1 (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = aea6224f30aa52d9998f2c77f473902179f03b8c
+RMD160 (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = 39a588cac4a0411db45ef269fbe6a63c6cb428ee
+Size (ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz) = 28097800 bytes
+SHA1 (ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz) = 420be0242c6a57af58e1d2ff7e1997616777cdbb
+RMD160 (ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz) = 7d4ab57dc6054cbd67b07e64b2142fded3121f09
+Size (ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz) = 33660776 bytes
+SHA1 (ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz) = 82378c9a172aef10d4cf277967dbf97a0fc2e190
+RMD160 (ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz) = c502da9c64f2a58b1af7f98fb90c1110d6a5fff5
+Size (ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz) = 28768864 bytes
SHA1 (ghc-7.6.3-src.tar.bz2) = 8938e1ef08b37a4caa071fa169e79a3001d065ff
RMD160 (ghc-7.6.3-src.tar.bz2) = 82a673ed38b7cf9a59afeb01057625fc761a822b
Size (ghc-7.6.3-src.tar.bz2) = 110763823 bytes
Home |
Main Index |
Thread Index |
Old Index