[137101] trunk/dports/devel/libusb/Portfile

Michael Dickens michaelld at macports.org
Sat Jun 6 16:17:42 PDT 2015


I fixed the configure.cmd in a future commit.

I'd love to see the github change moved to the port group; not sure
that's the best way to go for all ports though. - MLD 

On Sat, Jun 6, 2015, at 06:51 PM, Ryan Schmidt wrote:
> 
> > On Jun 4, 2015, at 6:01 PM, michaelld at macports.org wrote:
> > 
> > Revision
> > 137101
> > Author
> > michaelld at macports.org
> > Date
> > 2015-06-04 16:01:41 -0700 (Thu, 04 Jun 2015)
> > Log Message
> > 
> > libusb:
> > + update to 1.0.19, which addresses ticket #44336;
> > + move to using github, which requires non-standard configuration;
> > + build verbosely;
> > + fix livecheck for just releases.
> 
> > Modified: trunk/dports/devel/libusb/Portfile (137100 => 137101)
> 
> > +configure {
> > +    ui_debug "executing 'cd ${worksrcpath} && CC=${configure.cc} CFLAGS='${configure.cflags}' ./autogen.sh --prefix=${prefix}'"
> > +    system -W ${worksrcpath} "CC=${configure.cc} CFLAGS='${configure.cflags}' ./autogen.sh  --prefix=${prefix}"
> > +}
> 
> Does just setting "configure.cmd ./autogen.sh" not work?
> 
> > +# overload the github livecheck regex to look for versions that
> > +# are just numbers and '.', no letters (e.g., "1.0.19rc1").
> > +
> > +livecheck.regex archive/[join ${github.tag_prefix} ""](\[0-9\.\]+)${extract.suffix}
> 
> Wouldn't it be better to change the github portgroup to do that for all
> ports? I'm not sure why it doesn't already.
> 
> 


More information about the macports-dev mailing list