Matthias Kilian <k...@outback.escape.de> writes:

> Use a new bootstrap (still 8.10.7, but built on current from
> 2023-02-18). Attached is some kind of "port" I fiddled together
> from what's in CVS and some newer stuff, only used for "make
> bootstrap".

Nice! I belive we should keep a variation of this in the tree and
rebuild bootstrap periodically. There's a bit of intentional duplication
and some detritus we could clean up, but we can do it in the tree just
fine.

Some suggestion before committing this would be to stub it somehow such
that nobody mistakes this for a real package directory. Maybe remove
PLIST/PFRAG* and report an error from do-build: target? Also update the
COMMENT to something like:

bootstrap generator for lang/ghc while it can't be self-hosted

Thanks
Greg

>
> ghc-9.2.6 builds fine with this for me.
>
> Ciao,
>       Kili
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/lang/ghc/Makefile,v
> retrieving revision 1.208
> diff -u -p -r1.208 Makefile
> --- Makefile  21 Feb 2023 23:06:55 -0000      1.208
> +++ Makefile  22 Feb 2023 22:50:42 -0000
> @@ -12,13 +12,13 @@ NO_CCACHE =               Yes
>  USE_NOEXECONLY =     Yes
>  
>  GHC_VERSION =                9.2.6
> -REVISION =           1
> +REVISION =           2
>  DISTNAME =           ghc-${GHC_VERSION}
>  CATEGORIES =         lang devel
>  HOMEPAGE =           https://www.haskell.org/ghc/
>  
>  # Version of the precompiled binaries
> -BIN_VER =            8.10.7.20220904
> +BIN_VER =            8.10.7.20230222
>  
>  # lang/python needed for regression tests.
>  MODULES =            lang/python
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/lang/ghc/distinfo,v
> retrieving revision 1.65
> diff -u -p -r1.65 distinfo
> --- distinfo  20 Feb 2023 00:02:34 -0000      1.65
> +++ distinfo  22 Feb 2023 22:50:42 -0000
> @@ -1,8 +1,8 @@
> -SHA256 (ghc/ghc-8.10.7.20220904-amd64-unknown-openbsd.tar.xz) = 
> bH1nISV38j0ogaqDQuRycw55YaE031EEe6XR4vyw+1Q=
> -SHA256 (ghc/ghc-8.10.7.20220904-shlibs-amd64.tar.gz) = 
> icwBqEzjeDiW42tw/9kTHC7/Hso9+fjjZaBJ5DF9chY=
> +SHA256 (ghc/ghc-8.10.7.20230222-amd64-unknown-openbsd.tar.xz) = 
> JJ/ulkxy4Kl7a6PTTNZndE2e41EdQlyJe9POBrPnGL0=
> +SHA256 (ghc/ghc-8.10.7.20230222-shlibs-amd64.tar.gz) = 
> hMSc09Rklbwvj0lUwRp0qPXW90cwwnBW4kqfVn6oqEY=
>  SHA256 (ghc/ghc-9.2.6-src.tar.xz) = 
> elTPA5itSItO0hnhXR0eZMC2h2xDoFZFUN0R8FQNcwU=
>  SHA256 (ghc/ghc-9.2.6-testsuite.tar.xz) = 
> YQsidzuDfndyrjAfoGZfpiCt+9KEF4AhjmZvclrWNjk=
> -SIZE (ghc/ghc-8.10.7.20220904-amd64-unknown-openbsd.tar.xz) = 35756988
> -SIZE (ghc/ghc-8.10.7.20220904-shlibs-amd64.tar.gz) = 3686128
> +SIZE (ghc/ghc-8.10.7.20230222-amd64-unknown-openbsd.tar.xz) = 48924640
> +SIZE (ghc/ghc-8.10.7.20230222-shlibs-amd64.tar.gz) = 2929544
>  SIZE (ghc/ghc-9.2.6-src.tar.xz) = 24638236
>  SIZE (ghc/ghc-9.2.6-testsuite.tar.xz) = 3202896

Reply via email to