cvs commit: src/usr.bin/unzip Makefile unzip.1 unzip.c

Kris Kennaway kris at FreeBSD.org
Sun Jan 13 17:35:12 PST 2008


Tim Kientzle wrote:
>>> Of course, giving those four ports a build-time dependency
>>> on the Info-Zip version is arguably the right approach
>>> in any case.
>>
>> That would probably be undesirable because it would mean having to 
>> special case things in the ports tree and/or duplicate code.
> 
> I'm confused.  How is it different from having
> a build-time dependency on GNU tar?  I thought
> I remembered a few cases where ports installed
> GNU tar (as a build dependency) and then extracted
> with GNU tar.
> 
> This case would seem no different.  But I'm far
> less familiar with the details than you are, so
> I'll happily bow to your expertise in the matter.
> 
> Tim Kientzle

These ports currently obtain the unzip port dependency by setting 
USE_ZIP, and then everything just works, i.e. there is logic in 
bsd.port.mk to handle things like distfile extraction.

If we have to special case ports to deal with variant zipfiles that 
cannot be processed by /usr/bin/unzip then it gets messier because we 
have to account for some ports being satisfied with USE_ZIP=yes meaning 
/usr/bin/unzip and some still requiring /usr/ports/archivers/unzip.  I'd 
prefer not to have to add those workarounds.

Kris


More information about the cvs-src mailing list