pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ghc: Provide prebuilt 7.10.2 bootstrap for NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Mon Nov 16 04:10:03 2015 +0100
Changeset: 4d9a69f3baf2915f84310cb3ae2afb6445f96baf
Modified Files:
ghc/Makefile
ghc/bootstrap.mk
Log Message:
ghc: Provide prebuilt 7.10.2 bootstrap for NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4d9a69f3baf2915f84310cb3ae2afb6445f96baf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ghc/Makefile | 2 ++
ghc/bootstrap.mk | 6 ++++++
2 files changed, 8 insertions(+)
diffs:
diff --git a/ghc/Makefile b/ghc/Makefile
index 08f7d12..c4356a8 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -6,6 +6,8 @@ CATEGORIES= lang
MASTER_SITES= http://www.haskell.org/ghc/dist/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
+EXTRACT_USING= gtar
+
MAINTAINER= pho%cielonero.org@localhost
HOMEPAGE= http://www.haskell.org/ghc/
COMMENT= Compiler for the functional language Haskell
diff --git a/ghc/bootstrap.mk b/ghc/bootstrap.mk
index 40f579b..86883f0 100644
--- a/ghc/bootstrap.mk
+++ b/ghc/bootstrap.mk
@@ -33,6 +33,12 @@ DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE}
SITES.${BOOT_ARCHIVE}= https://us-east.manta.joyent.com/pkgsrc/public/distfiles-local/
.endif
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo)
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-x86_64-unknown-netbsd.tar.xz
+DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE}
+SITES.${BOOT_ARCHIVE}= ftp://ftp.netbsd.org/pub/NetBSD/misc/kamil/
+.endif
+
.if empty(BOOT_ARCHIVE)
BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-unknown.tar.xz
PKG_FAIL_REASON+= "Unsupported platform, please generate bootstrap kit"
Home |
Main Index |
Thread Index |
Old Index