pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc7 Bootkit for FreeBSD needs to use pkgsrc libi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2463c2329536
branches: trunk
changeset: 646278:2463c2329536
user: pho <pho%pkgsrc.org@localhost>
date: Sat Feb 07 09:35:55 2015 +0000
description:
Bootkit for FreeBSD needs to use pkgsrc libiconv
diffstat:
lang/ghc7/bootstrap.mk | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 0292c0fcc786 -r 2463c2329536 lang/ghc7/bootstrap.mk
--- a/lang/ghc7/bootstrap.mk Sat Feb 07 09:25:49 2015 +0000
+++ b/lang/ghc7/bootstrap.mk Sat Feb 07 09:35:55 2015 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: bootstrap.mk,v 1.16 2015/02/06 06:57:13 pho Exp $
+# $NetBSD: bootstrap.mk,v 1.17 2015/02/07 09:35:55 pho Exp $
# -----------------------------------------------------------------------------
-# Select a bindist of bootstrapping compiler based on a per-platform
-# basis.
+# Select a bindist of bootstrapping compiler on a per-platform basis.
#
# BOOT_ARCHIVE
# This variable is set to the name of compressed archive file of a
@@ -40,6 +39,16 @@
PKG_FAIL_REASON+= "internal error: unsupported platform"
.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
+# always needs to link executables with libiconv, just like libgmp
+# when integer-gmp is used. For this reason it might be desirable to
+# create two separate bootkits, one for < 10 and another for >= 10.
+.if ${OPSYS} == "FreeBSD"
+USE_BUILTIN.iconv= no
+.endif
+
# current bootstrap binary kit for SmartOS is built with ncurses5
.if !empty(MACHINE_PLATFORM:MSunOS-5.11-*) && !empty(OS_VARIANT:U:MSmartOS)
BUILD_DEPENDS+= ncurses>=5.0:../../devel/ncurses
Home |
Main Index |
Thread Index |
Old Index