Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Dec 2006 22:19:06 +0800
From:      LI Xin <delphij@delphij.net>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd@orchid.homeunix.org, ports@freebsd.org, dd@freebsd.org
Subject:   Re: bsdstats 5.3 on 6-STABLE and netcat weirdness
Message-ID:  <4576D15A.2070101@delphij.net>
In-Reply-To: <8194EEE8E22BA574C20015C8@ganymede.hub.org>
References:  <4576A4F6.7070407@orchid.homeunix.org> <8194EEE8E22BA574C20015C8@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig021C8DF14C19623A78BB42F9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Marc G. Fournier wrote:
>=20
> 'k, I don't know how to fix this one ... I thought about doing:
>=20
> .if ${OSVERSION} <=3D 492101
> RUN_DEPENDS=3D    nc:${PORTSDIR}/net/netcat
> .endif
>=20
> not sure which version brought in nc, but 492101 is the last of the 4.x=
 series=20
> ... but it portlint fails miserably if I don't put bsd.port.pre.mk befo=
re it,=20
> but also fails if I do:
>=20
> WARN: Makefile: no MASTER_SITES found. is it ok?
> WARN: Makefile: "RUN_DEPENDS" has to appear earlier.
> 0 fatal errors and 2 warnings found.
>=20
> Is there a better way of doing this ... ?

I think you want something like:

=2Eif ${OSVERSION} < 503102 || (${OSVERSION} >=3D 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,
--=20
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


--------------enig021C8DF14C19623A78BB42F9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFdtFbOfuToMruuMARAw83AJ9TgrvwqyxheOvRMTCfbonpV85eTQCeMM4/
hC6OZitpcQopFKNMlDv8Ajk=
=1kPf
-----END PGP SIGNATURE-----

--------------enig021C8DF14C19623A78BB42F9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4576D15A.2070101>