summaryrefslogtreecommitdiff
path: root/lang/ghc7
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2015-02-13 19:26:49 +0000
committerpho <pho@pkgsrc.org>2015-02-13 19:26:49 +0000
commit686323a7679a26492bf8296ab4d4cbc4d18450c7 (patch)
tree3c24620372edbb2203a744c7f67ec6356c51bbeb /lang/ghc7
parent1a2686bc0bb3e5103da50cf044a341c1e4d41caa (diff)
downloadpkgsrc-686323a7679a26492bf8296ab4d4cbc4d18450c7.tar.gz
On FreeBSD we need pkgsrc libiconv
See bootstrap.mk for details.
Diffstat (limited to 'lang/ghc7')
-rw-r--r--lang/ghc7/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/ghc7/buildlink3.mk b/lang/ghc7/buildlink3.mk
index fb4f16d3701..a051c54a43c 100644
--- a/lang/ghc7/buildlink3.mk
+++ b/lang/ghc7/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2014/08/29 14:08:40 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2015/02/13 19:26:49 pho Exp $
BUILDLINK_TREE+= ghc
@@ -9,6 +9,12 @@ BUILDLINK_API_DEPENDS.ghc+= ghc>=7.6.3
BUILDLINK_ABI_DEPENDS.ghc+= ghc>=7.6.3nb4
BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc7
+# On FreeBSD we need pkgsrc libiconv. See bootstrap.mk for details.
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "FreeBSD"
+USE_BUILTIN.iconv= no
+.endif
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"