pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ghc7 Explicitly set the ld command to ${LD}



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e123604873c4
branches:  trunk
changeset: 420478:e123604873c4
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Jan 03 11:11:29 2020 +0000

description:
Explicitly set the ld command to ${LD}

Without doing this the resulting compiler will have a cwrapper ld
embedded, and will be unable to bootstrap later versions of GHC.

diffstat:

 lang/ghc7/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r e49e56fca798 -r e123604873c4 lang/ghc7/Makefile
--- a/lang/ghc7/Makefile        Fri Jan 03 10:15:29 2020 +0000
+++ b/lang/ghc7/Makefile        Fri Jan 03 11:11:29 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.38 2019/12/31 07:10:30 pho Exp $
+# $NetBSD: Makefile,v 1.39 2020/01/03 11:11:29 pho Exp $
 # -----------------------------------------------------------------------------
 # Package metadata
 #
 DISTNAME=      ghc-7.10.3-src
-PKGREVISION=   1
+PKGREVISION=   2
 PKGNAME=       ${DISTNAME:S/-src$//}
 CATEGORIES=    lang
 MASTER_SITES=  https://downloads.haskell.org/~ghc/${PKGVERSION_NOREV}/
@@ -22,7 +22,7 @@
 # sources compiled from Haskell sources, but that's no longer
 # possible. So we have to prepare stripped-down binaries sufficient to
 # bootstrap compilers for each platforms. If you want to build them
-# yourself, follow instructions in ./bootstrap.mk
+# yourself, follow instructions in BOOTSTRAP.txt and ./bootstrap.mk
 BROKEN_EXCEPT_ON_PLATFORM+= \
        Darwin-*-powerpc \
        FreeBSD-*-i386 \
@@ -53,6 +53,7 @@
 
 CONFIGURE_ARGS.common= \
        --with-gcc=${CC:Q} \
+       --with-ld=${LD:Q} \
        --with-curses-includes=${BUILDLINK_PREFIX.curses:Q}/${BUILDLINK_INCDIRS.curses:Q} \
        --with-curses-libraries=${BUILDLINK_PREFIX.curses:Q}/${BUILDLINK_LIBDIRS.curses:Q} \
        --with-gmp-includes=${BUILDLINK_PREFIX.gmp:Q}/${BUILDLINK_INCDIRS.gmp:Q} \



Home | Main Index | Thread Index | Old Index