Date: Wed, 5 May 2010 11:30:21 +0200 From: David DEMELIER <demelier.david@gmail.com> To: freebsd-current@freebsd.org Subject: Re: unzip in basesystem. Message-ID: <t2pb3954bba1005050230kbdca43b2uc10d77d0adea41e6@mail.gmail.com> In-Reply-To: <u2hb3954bba1005050221vbca997cdka377a23f026e9d3d@mail.gmail.com> References: <u2hb3954bba1005050221vbca997cdka377a23f026e9d3d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/5/5 David DEMELIER <demelier.david@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+=3D =A0 =A0 =A0 ${LOCALBASE}/bin/unzip:${PORTSDIR}/archiv= ers/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=3D/usr/bin/unzip .else UNZIP_CMD?=3D ${LOCALBASE}/bin/unzip .endif --=20 Demelier David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t2pb3954bba1005050230kbdca43b2uc10d77d0adea41e6>