archivers/zip in 9.x:

Michael Scheidell michael.scheidell at secnap.com
Mon Jan 9 21:11:47 UTC 2012



On 1/9/12 4:06 PM, Ruslan Mahmatkhanov wrote:
>> (at what OSVERSION was zip included in the base?)
>>
>>
>
>
> unzip, not zip. I believe it should be handled in bsd.port.mk like it 
> done for USE_XZ. Something like:
>
> .if defined(USE_ZIP) && ${OSVERSION} < 900000
> EXTRACT_DEPENDS+=       
> ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
> .endif
>
> Correct OSVERSION should be used instead of 900000. There is also 
> should be some logic for UNZIP_CMD.
>
any idea what OSVERSION that would be? < 900045  ?

EXTRACT_DEPENDS.. yes, forgot.

because, TODAY:

make -V OSVERSION
900044


grep ZIP /usr/ports/Mk/bsd.*

/usr/ports/Mk/bsd.commands.mk:UNZIP_CMD?=    ${LOCALBASE}/bin/unzip



-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
 >*| *SECNAP Network Security Corporation

    * Best Mobile Solutions Product of 2011
    * Best Intrusion Prevention Product
    * Hot Company Finalist 2011
    * Best Email Security Product
    * Certified SNORT Integrator

______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com/
______________________________________________________________________  
  


More information about the freebsd-ports mailing list