2010/5/5 David DEMELIER <demelier.da...@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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"