Re: Howto inspect Portfile variables to debug install

2016-05-31 Thread Ryan Schmidt
On May 30, 2016, at 6:33 AM, Mojca Miklavec wrote: > On 29 May 2016 at 20:19, Chris Gorman wrote: >> Hello, >> >> I was wondering how to inspect variables in a port file. Specifically, I >> want to apply a patch conditionally if perl is version 5.10.0. >> >> I'm trying something like >> >> i

Re: Howto inspect Portfile variables to debug install

2016-05-30 Thread Mojca Miklavec
On 29 May 2016 at 20:19, Chris Gorman wrote: > Hello, > > I was wondering how to inspect variables in a port file. Specifically, I > want to apply a patch conditionally if perl is version 5.10.0. > > I'm trying something like > > if { ${configure.perl} eq "/usr/bin/perl" && [vercmp ${perl5.versio

Re: Howto inspect Portfile variables to debug install

2016-05-29 Thread Joshua Root
On 2016-5-30 04:19 , Chris Gorman wrote: Hello, I was wondering how to inspect variables in a port file. Specifically, I want to apply a patch conditionally if perl is version 5.10.0. I'm trying something like if { ${configure.perl} eq "/usr/bin/perl" && [vercmp ${perl5.version} 5.10.0] < 0

Howto inspect Portfile variables to debug install

2016-05-29 Thread Chris Gorman
Hello, I was wondering how to inspect variables in a port file. Specifically, I want to apply a patch conditionally if perl is version 5.10.0. I'm trying something like if { ${configure.perl} eq "/usr/bin/perl" && [vercmp ${perl5.version} 5.10.0] < 0 } { patchfiles-append patch-man_Mak