Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 00:31:58 -0800
From:      Yuri <yuri@rawbw.com>
To:        Gleb Popov <arrowd@freebsd.org>
Cc:        freebsd-haskell@freebsd.org
Subject:   Re: Why does the port with USES=cabal and USE_CABAL= fail with unknown dependencies?
Message-ID:  <0063f3a0-b884-ca5e-044b-6110bfd63779@rawbw.com>
In-Reply-To: <CALH631k9gE6QT4izhT=UPB17QLLWDYZwD1NTdXXshLMMj%2B79Dg@mail.gmail.com>
References:  <5fe819e2-6181-9903-1d53-8f76bd745b76@rawbw.com> <CALH631k9gE6QT4izhT=UPB17QLLWDYZwD1NTdXXshLMMj%2B79Dg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-02-23 22:55, Gleb Popov wrote:
>
> 1. Define PORTNAME, PORTVERSION and USES=cabal
> 2. Run `make cabal-extract`. This will fetch the package using 
> devel/hs-cabal-install
> 3. Run `make cabal-extract-deps`. This will fetch and build all 
> package dependencies, including transitive ones.
> 4. Run make `make-use-cabal`. This will generate intial USE_CABAL 
> string. Copy&paste it into the port.
> 5. Run make `make-use-cabal-revs`. This will check packages from 
> current USE_CABAL for available revisions and generate new string. 
> Copy&paste it into the port.
> 6. Run `make makesum && make clean` and try building the port the 
> usual way.


This worked, thanks!


Yuri





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0063f3a0-b884-ca5e-044b-6110bfd63779>