On Thu, Feb 11, 2016 at 11:21:30PM +0100, Jan Nieuwenhuizen wrote:
> +       #:phases (modify-phases %standard-phases
> +                  (replace
> +                   'configure
> +                   (lambda* (#:key inputs outputs #:allow-other-keys)
> +                     (let ((out (assoc-ref outputs "out")))
> +                       (system*
> +                        "./configure"
> +                        "-bindir" (string-append out "/bin")
> +                        "-config" (string-append out "/etc/ocamfind.conf")
> +                        "-mandir" (string-append out "/share/man")
> +                        "-sitelib" (string-append out "/lib/ocaml/site-lib")
> +                        "-with-toolbox")))))))

Ah, one more thing: This could potentially be a list of configure flags,
see for instance font-adobe100dpi. These are added to our standard configure
flags. Some build systems choke on "--enable-fast-install" and need an
explicit call to "./configure" then. If this is the case, please add a
comment such as
    ;; do not pass "--enable-fast-install", which makes the
    ;; configure process fail

Thanks,

Andreas


Reply via email to