[121443] users/mojca/ports/cross/mingw-w64/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jun 25 15:23:37 PDT 2014


On Jun 25, 2014, at 1:46 PM, mojca at macports.org wrote:

> Revision
> 121443
> Author
> mojca at macports.org
> Date
> 2014-06-25 11:46:01 -0700 (Wed, 25 Jun 2014)
> Log Message
> 
> mojca/mingw-w64: add a symlink mingw/include (a bug?)
> Modified Paths
> 
> 	• users/mojca/ports/cross/mingw-w64/Portfile
> Diff
> 
> Modified: users/mojca/ports/cross/mingw-w64/Portfile (121442 => 121443)
> 
> --- users/mojca/ports/cross/mingw-w64/Portfile	2014-06-25 18:21:41 UTC (rev 121442)
> +++ users/mojca/ports/cross/mingw-w64/Portfile	2014-06-25 18:46:01 UTC (rev 121443)
> 
> @@ -51,6 +51,13 @@
> 
>                                  --host=${mingw_target}
> 
>      configure.pre_args-delete   --prefix=${prefix}
> 
>  
> 
> +    if {${mingw_dir} eq "headers"} {
> +        post-destroot {
> +            file mkdir "${destroot}/${mingw_prefix}/mingw"
> +            ln -s "../include" "${destroot}/${mingw_prefix}/mingw/include"
> +        }
> +    }

Since mingw_prefix begins with ${prefix} and prefix begins with a "/" there shouldn't be a "/" before the references to ${mingw_prefix}.



More information about the macports-dev mailing list