Setting Up a OpenBSD System for Building GHC Wiki Page

Adam Steen adam at adamsteen.com.au
Thu Apr 6 03:04:13 UTC 2017


Good Morning All

Thanks for the replies

@Karel
After more testing it looks like i can remove the python business.

@Sergei and @Karel
libiconv is a prerequisite of ghc and is installed automatically, do
you think this should be explicit?

@Matthias
I will have to have a read about branches and will update the wiki shortly.

Cheers
Adam

On 6 April 2017 at 04:38, Matthias Kilian <kili at outback.escape.de> wrote:
> Hi Adam,
>
> On Wed, Apr 05, 2017 at 03:39:18PM +0800, Adam Steen wrote:
>> I have created the Building/Preparation/OpenBSD Wiki Page, i have not yet
>> link it to Building/Preparation
>> <https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation> page yet, but
>> am looking for a review
>>
>> Setting Up a OpenBSD System for Building GHC
>> <https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/OpenBSD>
>
> Nice to see that some people actively work on ghc on OpenBSD (and
> apologies for me beeing such a slacker keeping the ghc package for
> OpenBSD up to date).
>
> FWIW, you don't have to pass the very exact package name to pkg_add,
> like 'autoconf-2.69p2' or ''automake-1.15p0'. There's a relatively new
> concept in pkg_tools called 'branches' (see pkg_add(1) manpage).
>
> You just have to replace the '-' separating the stem and the version by
> a '%', e.g.
>
>         pkg_add autoconf%2.69 automake%1.15
>
> Then you'll get autoconf-2.69 and aotmake-1.15 regardless of what's the
> current REVISION (aka package patchleve) ot the package.
>
> Ciao,
>         Kili

On Thu, Apr 6, 2017 at 4:38 AM, Matthias Kilian <kili at outback.escape.de> wrote:
> Hi Adam,
>
> On Wed, Apr 05, 2017 at 03:39:18PM +0800, Adam Steen wrote:
>> I have created the Building/Preparation/OpenBSD Wiki Page, i have not yet
>> link it to Building/Preparation
>> <https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation> page yet, but
>> am looking for a review
>>
>> Setting Up a OpenBSD System for Building GHC
>> <https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/OpenBSD>
>
> Nice to see that some people actively work on ghc on OpenBSD (and
> apologies for me beeing such a slacker keeping the ghc package for
> OpenBSD up to date).
>
> FWIW, you don't have to pass the very exact package name to pkg_add,
> like 'autoconf-2.69p2' or ''automake-1.15p0'. There's a relatively new
> concept in pkg_tools called 'branches' (see pkg_add(1) manpage).
>
> You just have to replace the '-' separating the stem and the version by
> a '%', e.g.
>
>         pkg_add autoconf%2.69 automake%1.15
>
> Then you'll get autoconf-2.69 and aotmake-1.15 regardless of what's the
> current REVISION (aka package patchleve) ot the package.
>
> Ciao,
>         Kili


More information about the ghc-devs mailing list