Why does the port with USES=cabal and USE_CABAL= fail with unknown dependencies?

Yuri yuri at rawbw.com
Mon Feb 24 08:32:01 UTC 2020


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




More information about the freebsd-haskell mailing list