unzip in basesystem.
David DEMELIER
demelier.david at gmail.com
Wed May 5 09:38:45 UTC 2010
2010/5/5 David DEMELIER <demelier.david at gmail.com>:
> Hi,
>
> I noticed that unzip came into basesystem in src/usr.bin/unzip/. To
> prevent port installing the ports/archivers/unzip one, I propose to
> add this in bsd.port.mk
>
> .if defined(USE_ZIP) && !exists(/usr/bin/unzip)
> EXTRACT_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
> .endif
>
> Is that right ?
>
Sorry I gone too fast, I would add this in bsd.commands.mk too :
.if exists(/usr/bin/unzip)
UNZIP_CMD=/usr/bin/unzip
.else
UNZIP_CMD?= ${LOCALBASE}/bin/unzip
.endif
--
Demelier David
More information about the freebsd-current
mailing list