svn commit: r321436 - in head/security/sst: . files
Colin Percival
cperciva at freebsd.org
Fri Jun 21 03:17:42 UTC 2013
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
More information about the svn-ports-head
mailing list