Re: New features in 2.0.0

2011-07-31 Thread Rainer Müller
On 2011-07-29 02:50 , Joshua Root wrote: > Now that the customary week has passed since the release of 2.0.0, I > thought I'd point out some of the goodies that are now available to > portfile authors. Another subtle change, "system" now accepts -W to specify a working directory for the command.

Re: New features in 2.0.0

2011-07-29 Thread Joshua Root
On 2011-7-30 11:24 , Ryan Schmidt wrote: > > On Jul 29, 2011, at 20:01, Joshua Root wrote: > >> Bear in mind that it won't return the universal flags if it's called >> before a universal variant has been declared. A good rule of thumb to >> avoid problems is to only call it inside a phase. > > M

Re: New features in 2.0.0

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 20:01, Joshua Root wrote: > 5. get_canonical_archflags > > This: > > variant universal {} > if {[variant_isset universal]} { >set archflags ${configure.universal_cflags} > } else { >set archflags ${configure.cc_archflags} > } > post-patch { >reinplace "s|__ARCHFL

Re: New features in 2.0.0

2011-07-29 Thread Joshua Root
Oh yeah, one more: 5. get_canonical_archflags This: variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } post-patch { reinplace "s|__ARCHFLAGS__|${archflags}|" ${worksrcpath}/Makefile } C

Re: New features in 2.0.0

2011-07-29 Thread Ryan Schmidt
On Jul 29, 2011, at 03:35, Anders F Björklund wrote: > About the "set default_checksum_types {rmd160 sha256}" output, > do you still need to keep rmd160 around as a second checksum line ? The purpose for having two checksum types for each distfile is in case a fatal flaw is found in one of the

Re: New features in 2.0.0

2011-07-29 Thread Anders F Björklund
Joshua Root wrote: > Now that the customary week has passed since the release of 2.0.0, I > thought I'd point out some of the goodies that are now available to > portfile authors. > > 1. SHA256 checksums - should be self-explanatory. It still would have been nice to do Base-32 instead Base-16 he

New features in 2.0.0

2011-07-28 Thread Joshua Root
Now that the customary week has passed since the release of 2.0.0, I thought I'd point out some of the goodies that are now available to portfile authors. 1. SHA256 checksums - should be self-explanatory. 2. The sqlite registry is now mandatory, which means workarounds for the flat format can be