The NetBSD Project

CVS log for pkgsrc/lang/ghc7/bootstrap.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / ghc7

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 6 12:41:43 2023 UTC (10 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 7 16:26:36 2022 UTC (21 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

lang: Switch distfile location from Joyent to MNX Manta.

No functional change.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Mar 27 04:13:57 2020 UTC (4 years ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Set LD_LIBRARY_PATH for compat80 emul in configure step too.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Feb 14 23:36:54 2020 UTC (4 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

ghc7: Update SunOS bootstrap kit and fix a couple of issues.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 13 01:06:52 2020 UTC (4 years, 3 months ago) by pho
Branch: MAIN
Changes since 1.28: +2 -12 lines
Diff to previous 1.28 (colored)

Update the bootkit for FreeBSD/i386

It's now built on FreeBSD 12.1.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 12 11:07:46 2020 UTC (4 years, 3 months ago) by pho
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Fix build on platforms where bootkit version doesn't match PKGVERSION

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 29 16:59:08 2019 UTC (4 years, 3 months ago) by pho
Branch: MAIN
Changes since 1.26: +43 -55 lines
Diff to previous 1.26 (colored)

Update to GHC 7.10.3

Changes from 7.6.3 are as follows:
* https://www.haskell.org/ghc/docs/7.8.1/html/users_guide/release-7-8-1.html
* https://www.haskell.org/ghc/docs/7.8.2/html/users_guide/release-7-8-2.html
* https://www.haskell.org/ghc/docs/7.8.3/html/users_guide/release-7-8-3.html
* https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-4.html
* https://www.haskell.org/ghc/docs/7.10.1/html/users_guide/release-7-10-1.html
* https://downloads.haskell.org/~ghc/7.10.2/docs/html/users_guide/release-7-10-2.html
* https://downloads.haskell.org/~ghc/7.10.3/docs/html/users_guide/release-7-10-3.html

Revision 1.26 / (download) - annotate - [select for diffs], Sun Nov 3 19:04:00 2019 UTC (4 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

lang: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 14 02:36:30 2019 UTC (4 years, 6 months ago) by gutteridge
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

ghc7: minor comment fix in bootstrap.mk (NFC)

Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 10 01:04:41 2018 UTC (5 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

lang/ghc7: fix typo in error message

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 17 21:12:13 2015 UTC (9 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Silence missing ghc.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 17 09:29:17 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

Add upstream Trac URL for our workaround to non-standard curses path

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 11 09:38:08 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.20: +35 -25 lines
Diff to previous 1.20 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 11 07:49:51 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.19: +8 -8 lines
Diff to previous 1.19 (colored)

Oops, I forgot to replace some of ${PKGNAME} with ${PKGNAME_NOREV}

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 11 07:47:16 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.18: +41 -19 lines
Diff to previous 1.18 (colored)

Preparing to upload some of bootkits to LOCAL_PORTS

Refactored bootstrap.mk with no semantic changes in this commit. I
will soon upload some of bootkits derived from wip/ghc to LOCAL_PORTS
but only for safe ones. Here's a note about safety:

* NetBSD/amd64, FreeBSD/i386, Darwin/ppc [SAFE]: These kits were built
  on my secured private machines under my exclusive control. I'm
  planning to upload them.

* Linux/amd64 [UNSAFE]: I built my kit for this one on a machine
  shared with my co-workers with root access. I won't upload it.

* NetBSD/i386 [UNSAFE]: I built my kit for this one on an Amazon EC2
  instance (although it's private). I won't upload it either.

For other developers, please do not upload any bootkits derived from
unsafe ones mentioned above, because they have some degree of
possibility of being compromised. And please keep in mind that
machines shared with someone or on a cloud hosting service should be
avoided for building bootkits.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Feb 7 20:08:30 2015 UTC (9 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Provide (invalid) value for BOOT_ARCHIVE for unknown architectures to
avoid warnings in the rest of the while.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 7 09:35:55 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.16: +12 -3 lines
Diff to previous 1.16 (colored)

Bootkit for FreeBSD needs to use pkgsrc libiconv

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 6 06:57:13 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.15: +24 -6 lines
Diff to previous 1.15 (colored)

${MAKE} bootstrap: Build bootkits with -static-libgcc

We don't want our bootkits to have a run-time dependency on libgcc. In
fact GHC's implementation of Haskell exception handling does not
depend on libgcc's facilities so it is attractive to do the same for
"normal" build... but we can't. This is because Haskell programs may
call C functions via FFI, and those C functions may call C++ functions
in turn, possibly in a different shared library.

But on some platforms, gcc automagically inserts a dependency on a
shared libgcc when -lpthread is given, which is seemingly unavoidable.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 5 00:38:14 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Add comments

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 5 00:26:34 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.13: +67 -13 lines
Diff to previous 1.13 (colored)

${MAKE} bootstrap: Be more verbose about what we've built

The "bootstrap" target now prints a message about run-time
dependencies of the bootkit you've just built, something like:

==========================================================================
Done creating ghc-7.6.3-boot-x86_64-unknown-netbsd.tar.xz
  in /usr/pkgsrc/lang/ghc7/work

Now you can copy it into /usr/pkgsrc/distfiles/ to use it as your
bootstrap kit. You may want to take a backup in case "lintpkgsrc -r"
removes it.

Your bootstrap kit has the following run-time dependencies:
  * curses:  native (version/variant unknown)
  * iconv:   native (version/variant unknown)
==========================================================================

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 4 06:53:18 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.12: +7 -3 lines
Diff to previous 1.12 (colored)

lang/ghc7 no longer requires ${PREFIX}/lib to be put into /etc/ld-elf.so.conf

The installed GHC has already been working without the ld hack. These
changes should only affect the package build so revbump isn't needed.

Makefile (CONFIGURE_ENV):
  Refactored with no semantic changes.

Makefile (post-patch):
  ${WRKSRC}/libraries/base/configure.ac is patched too.

Makefile (CHECK_SHLIBS_SUPPORTED):
  Removed the variable as the package now supports it.

Makefile (CHECK_SHLIBS_SKIP):
  Added to skip checks for dynamic Haskell libraries. See the comment
  for details.

bootstrap.mk (pre-configure):
  Use ${CONFIGURE_ENV} when configuring the stage-0 compiler. See the
  comment for details.

patches/patch-libraries_base_configure.ac:
  Added to prevent {CPP,LD}FLAGS from being clobbered. See the comment
  for details. I will send the patch to the upstream in a few days or
  weeks (or even months, depending on my busyness).

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 3 02:32:05 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
Changes since 1.11: +47 -27 lines
Diff to previous 1.11 (colored)

Fix build failure that occurs when pkgsrc devel/ncurses is being used

* Formerly we were passing
  "--with-curses-includes=${BUILDLINK_PREFIX.curses}/include" to
  "${WRKSRC}/libraries/terminfo/configure". This is problematic
  because pkgsrc devel/ncurses installs headers into
  ${PREFIX}/include/ncurses, not ${PREFIX}/include, while ghc-cabal
  expects "ncurses.h" and "term.h" in ${PREFIX}/include (because we
  said so) and then it emits an error. The fix is to use
  ${BUILDLINK_INCDIRS.curses} instead of "include". Note that this
  requires my recent changes to ../../mk/curses.buildlink3.mk (r1.21)

* The "bootstrap" target now uses buildlink wrapper not to pick up
  random libraries which happened to be in "${PREFIX}/lib". Bootstrap
  binary kits should be linked with a predictable set of libraries.

* The "bootstrap" target now automatically runs through the wrapper
  phase. You no longer have to run "${MAKE} patch" manually.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 26 07:00:50 2014 UTC (9 years, 6 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (colored)

current bootstrap binary kit for SmartOS is built with ncurses5

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 21 16:07:59 2014 UTC (9 years, 11 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Apply a number of fixes:

  * Install the libffi libtool archive.  Whilst it is unused, it allows
    us to automatically determine the shared library suffix.

  * Switch the i386 SunOS bootstrap to .xz.

  * Use PKG_CC to build lndir to help environments where the compiler is
    not in $PATH.

  * Apply patch from Alain O'Dea to fix issues with files residing on
    read-only file systems.

  * Support shared libraries on 64-bit SunOS.

  * Fix typo in patches/patch-rts_Linker.c.

Fixes build on SunOS.  Bump PKGREVISION.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 5 06:38:05 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)

fixes BOOT_ARCHIVE name for bootstrap target (PKGNAME_NOREV is not defined yet).

Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 5 06:24:27 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.7: +14 -9 lines
Diff to previous 1.7 (colored)

move requirement of bootstrap target to pre-bootstrap target.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 3 09:48:44 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

tell incdir of ncurses from pkgsrc to bootstrap.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 3 07:06:55 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

PKGNAME_NOREV is not defined yet.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 3 07:02:32 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.4: +2 -7 lines
Diff to previous 1.4 (colored)

let to do "patch" target before "bootstrap"

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 1 13:06:19 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.3: +20 -22 lines
Diff to previous 1.3 (colored)

define and use DISTNAME to match its naming.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 30 07:57:35 2014 UTC (10 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

works with builtin curses (with NetBSD-6).

Bump PKGREVISION.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 16 06:23:09 2013 UTC (10 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)

Drop bootstrap binary from distfiles.
You can use your trusted bootstrap file as your basis.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 12 12:47:17 2013 UTC (10 years, 4 months ago) by obache
Branch: MAIN

Import ghc-7.6.3 as lang/ghc7.
Based on wip/ghc, mostly worked by phonohawk, with patches from jperkin@.
And some modifications and buit of Bootstrap binaries for 7.6.3 by me.

GHC: The Glasgow Haskell Compiler.

The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98
(http://www.haskell.org). GHC compiles Haskell to either native code
or C. It implements numerous experimental language extensions to
Haskell, including concurrency, a foreign language interface, several
type-system extensions, exceptions, and so on. GHC comes with a
generational garbage collector, a space and time profiler, and a
comprehensive set of libraries.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>