bsdstats 5.3 on 6-STABLE and netcat weirdness
LI Xin
delphij at delphij.net
Wed Dec 6 06:19:56 PST 2006
Marc G. Fournier wrote:
>
> 'k, I don't know how to fix this one ... I thought about doing:
>
> .if ${OSVERSION} <= 492101
> RUN_DEPENDS= nc:${PORTSDIR}/net/netcat
> .endif
>
> not sure which version brought in nc, but 492101 is the last of the 4.x series
> ... but it portlint fails miserably if I don't put bsd.port.pre.mk before it,
> but also fails if I do:
>
> WARN: Makefile: no MASTER_SITES found. is it ok?
> WARN: Makefile: "RUN_DEPENDS" has to appear earlier.
> 0 fatal errors and 2 warnings found.
>
> Is there a better way of doing this ... ?
I think you want something like:
.if ${OSVERSION} < 503102 || (${OSVERSION} >= 600000 && ${OSVERSION} <
600010)
instead of just considering 492101.
Also, I think net/obnc should be used instead of net/netcat, and obnc
itself should be set to 'deprecated' mode...
Cheers,
--
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061206/908d243d/signature.pgp
More information about the freebsd-ports
mailing list