Date: Thu, 20 Jun 2013 20:16:25 -0700 From: Colin Percival <cperciva@freebsd.org> To: Mikhail Teterin <mi@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r321436 - in head/security/sst: . files Message-ID: <51C3C589.8030901@freebsd.org> In-Reply-To: <201306210310.r5L3AKbu095715@svn.freebsd.org> References: <201306210310.r5L3AKbu095715@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/20/13 20:10, Mikhail Teterin wrote: > Log: > Only depend on net/netcat, when /usr/bin/netcat is not uvailable (either > because the present FreeBSD is too old, or because we are building on, > say, DragonFlyBSD). > [...] > -RUN_DEPENDS= nc:${PORTSDIR}/net/netcat > +.if !exists(/usr/bin/nc) > +RUN_DEPENDS= netcat:${PORTSDIR}/net/netcat > +.endif Please don't do this. We have __FreeBSD_version for a reason, and looking for particular files like this breaks INDEX cross-building. ... and it looks like we've had /usr/bin/nc since 6.0-CURRENT, so anyone on FreeBSD who is lacking it is running a not-supported-for-many-years system anyway. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51C3C589.8030901>