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 DavidReceived on Wed May 05 2010 - 07:38:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC