On 2014/06/12 23:27, Anthony J. Bentley wrote:
> Ted Roby writes:
> > I want to inspect the contents of multiple distfiles.
> > 
> > Is there a way to use the ports system to extract and perhaps
> > patch a distfile without first installing its dependencies?
> > 
> > I've attempted to pass BUILD_DEPENDS='' LIB_DEPENDS='' WANTLIB=''
> > but that hasn't worked. Before I write my own scripting to parse distfile
> > information from the Makefile and then extract I wanted to know if this
> > mechanism already existed within the ports system.
> 
> From bsd.port.mk(7)...
> 
>      NO_DEPENDS    User settings.  Don't verify build of dependencies.  Do not
>                    use in any ports Makefile.  This is only meant as a user
>                    convenience when, e.g., you just want to browse through a
>                    given port's source and do not wish to trigger the build of
>                    dependencies.
> 

Note that this does skip dependencies which may be needed for extracting
distfiles, so on a clean system you'll need to manually install things
like xz, bzip2, lha - and if you want to patch rather than extract,
you'll need autoconf etc as well.

Reply via email to