Re: [146024] trunk/dports/sysutils

2016-02-28 Thread Mihai Moldovan
On 26.02.2016 08:37 PM, Ryan Schmidt wrote:
> That uses /opt/local/bin/perl, which might not be perl5.22, depending on 
> which variant of the perl5 port the user has installed. If you declare a 
> dependency on a p5.22 module, you must use the perl5.22 executable.

Thanks, I think I got confused by the "default perl version" and such. Fixed in
r146119, I hope.



Mihai




signature.asc
Description: OpenPGP digital signature
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [146024] trunk/dports/sysutils

2016-02-26 Thread Ryan Schmidt

> On Feb 26, 2016, at 8:06 AM, Mihai Moldovan wrote:
> 
> On 26.02.2016 09:38 AM, Ryan Schmidt wrote:
>>> +depends_run port:p5.22-soap-lite
>> 
>> I see you've added a dependency on port:p5.22-soap-lite but I don't see how 
>> you've informed the program that it should use /opt/local/bin/perl5.22, 
>> which would be necessary for this to work.
> 
> Via the patch-amttool-prepare-hashbang-for-reinplace.diff patch file and the
> post-patch phase.

That uses /opt/local/bin/perl, which might not be perl5.22, depending on which 
variant of the perl5 port the user has installed. If you declare a dependency 
on a p5.22 module, you must use the perl5.22 executable.


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [146024] trunk/dports/sysutils

2016-02-26 Thread Mihai Moldovan
On 26.02.2016 09:38 AM, Ryan Schmidt wrote:
>> +depends_run port:p5.22-soap-lite
> 
> I see you've added a dependency on port:p5.22-soap-lite but I don't see how 
> you've informed the program that it should use /opt/local/bin/perl5.22, which 
> would be necessary for this to work.

Via the patch-amttool-prepare-hashbang-for-reinplace.diff patch file and the
post-patch phase.

This dependency is not used at build time, so there's nothing else to do there.
(Hence depends_run.) :)



Mihai



signature.asc
Description: OpenPGP digital signature
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [146024] trunk/dports/sysutils

2016-02-26 Thread Ryan Schmidt

> On Feb 24, 2016, at 7:59 PM, io...@macports.org wrote:
> 
> Revision
> 146024
> Author
> io...@macports.org
> Date
> 2016-02-24 17:59:33 -0800 (Wed, 24 Feb 2016)
> Log Message
> 
> amttools: new port.
> 
> Includes amttool (for querying AMT properties), amtterm (for connecting
> to SoL virtual adapters), gamt (GTK3-/vte-based SoL terminal) and the
> famous amt-howto man page.

> Added: trunk/dports/sysutils/amttools/Portfile (0 => 146024)

> +depends_run port:p5.22-soap-lite

I see you've added a dependency on port:p5.22-soap-lite but I don't see how 
you've informed the program that it should use /opt/local/bin/perl5.22, which 
would be necessary for this to work.

___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev