[122521] trunk/dports/_resources/port1.0/group

Ryan Schmidt ryandesign at macports.org
Wed Jul 23 18:18:43 PDT 2014


On Jul 23, 2014, at 9:31 AM, mojca at macports.org wrote:

> Revision
> 122521
> Author
> mojca at macports.org
> Date
> 2014-07-23 07:31:40 -0700 (Wed, 23 Jul 2014)
> Log Message
> 
> perl5-1.0.tcl: ask perl for location of perl5.lib instead of hardcoding it (#43480)


> --- trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl	2014-07-23 14:29:55 UTC (rev 122520)
> +++ trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl	2014-07-23 14:31:40 UTC (rev 122521)
> @@ -235,6 +235,7 @@
>                  configure.args-append --with-newlib
>              }
>          }
> +        ignore {}
>          default {
>              pre-fetch {
>                  ui_error "libc $libc_name is not supported by port group crossgcc"

This seems to be unrelated? I'm also not sure what it does!


> --- trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2014-07-23 14:29:55 UTC (rev 122520)
> +++ trunk/dports/_resources/port1.0/group/perl5-1.0.tcl	2014-07-23 14:31:40 UTC (rev 122521)
> @@ -73,7 +73,7 @@
>  default perl5.bin {${prefix}/bin/perl${perl5.major}}
>  
>  # define installation libraries as vendor location
> -default perl5.lib {${prefix}/lib/perl5/vendor_perl/${perl5.version}}
> +default perl5.lib {[perl5.extract_config vendorlib]}
>  default perl5.bindir {${prefix}/libexec/perl${perl5.major}}
>  default perl5.archlib {${perl5.lib}/${perl5.arch}}

This would require perl to be installed in order to work. Are you sure no port references ${perl5.lib} in the global part of the portfile, i.e. before perl has necessarily been installed? For example, what about p5-sgmlspm, which uses ${perl5.lib} in build.args? What happens if you try to install e.g. p5.16-sgmlspm before perl5.16 is installed (which is what will happen on the buildbot)?





More information about the macports-dev mailing list