[121419] users/mojca/ports/cross
Ryan Schmidt
ryandesign at macports.org
Wed Jun 25 15:40:31 PDT 2014
On Jun 24, 2014, at 7:47 PM, mojca at macports.org wrote:
> Revision
> 121419
> Author
> mojca at macports.org
> Date
> 2014-06-24 17:47:21 -0700 (Tue, 24 Jun 2014)
> Log Message
>
> mojca/x86_64-w64-mingw32-headers: initial port
> Added Paths
>
> • users/mojca/ports/cross/x86_64-w64-mingw32-headers/
> • users/mojca/ports/cross/x86_64-w64-mingw32-headers/Portfile
> Diff
>
> Added: users/mojca/ports/cross/x86_64-w64-mingw32-headers/Portfile (0 => 121419)
>
> --- users/mojca/ports/cross/x86_64-w64-mingw32-headers/Portfile (rev 0)
> +++ users/mojca/ports/cross/x86_64-w64-mingw32-headers/Portfile 2014-06-25 00:47:21 UTC (rev 121419)
>
> @@ -0,0 +1,51 @@
>
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem 1.0
> +PortGroup GitHub 1.0
Should be "github", with lowercase letters, otherwise it will fail on the buildbot and other systems with case-sensitive filesystems.
> +pre-destroot {
> + # gcc needs the cross directory structure to be present
> + # in order to fill it during installation.
> + file mkdir "${destroot}/${prefix}/${crossgcc.target}/lib"
> + file mkdir "${destroot}/${prefix}/${crossgcc.target}/lib32"
> + ln -s lib "${destroot}/${prefix}/${crossgcc.target}/lib64"
> + ln -s "${crossgcc.target}" "${destroot}/${prefix}/mingw"
> +}
${prefix} begins with a slash, so there should not be an extra "/" before it when you refer to it.
More information about the macports-dev
mailing list