On 2010-05-16, Matthias Kilian <[email protected]> wrote:
> Let Cabal-generated register.sh and unregister.sh scripts pass
> paraemters to ghc-pkg. Remove the (now obsolete) patch for Register.hs.
>
> Ports that build ghc libraries should now use the following
> @exec/@unexec magic (('ve already diffs for all the hs-* ports in
> my tree):
>
> lib/${DISTNAME}/register.sh
> @exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh -v0
> @unexec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh -v0 
> --force
> lib/${DISTNAME}/unregister.sh

Why not hard-code the parameters (at least -v0) into the respective scripts?

Best regards,
Jona

-- 
Worse is better
    Richard P. Gabriel

Reply via email to