[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pango

From: Ludovic Courtès
Subject: Re: Pango
Date: Sat, 15 Jun 2013 15:14:16 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

>    (inputs
>     `(("curl" ,curl)
>       ("expat" ,expat)
>       ("gettext" ,gnu:gettext)
>       ("openssl" ,openssl)
>       ("perl" ,perl)
>       ("python" ,python)
>       ("zlib" ,zlib)))
>    (arguments
>     `(#:test-target "test"
>       #:phases
>        (alist-replace
>         'configure
>         (lambda* (#:key #:allow-other-keys #:rest args)
>           (let ((configure (assoc-ref %standard-phases 'configure)))
>           (apply configure args)
>           (substitute* "Makefile"
>             (("/bin/sh") (which "sh"))
>             (("/usr/bin/perl") (which "perl"))
>             (("/usr/bin/python") (which "python")))))
>          %standard-phases)))

Note that Perl and Python seem to be used at build time.  Thus, they
should be listed in ‘native-inputs’ rather than ‘inputs’, so that they
can actually be executed when cross-compiling.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]