Date: Mon, 9 Jan 2012 16:11:44 -0500 From: Michael Scheidell <michael.scheidell@secnap.com> To: <freebsd-ports@freebsd.org> Subject: Re: archivers/zip in 9.x: Message-ID: <4F0B5810.6030109@secnap.com> In-Reply-To: <4F0B56BC.6080601@yandex.ru> References: <4F0B4E5F.8040802@secnap.com> <4F0B56BC.6080601@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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/ ______________________________________________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0B5810.6030109>