From owner-freebsd-ports@FreeBSD.ORG Wed Dec 6 14:19:56 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DF0716A407; Wed, 6 Dec 2006 14:19:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D6EE43CAD; Wed, 6 Dec 2006 14:19:00 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id ABE71EB5803; Wed, 6 Dec 2006 22:19:45 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 1Ic53FYPYhYw; Wed, 6 Dec 2006 22:19:41 +0800 (CST) Received: from [192.168.1.32] (unknown [61.49.106.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id DC9FAEB51DB; Wed, 6 Dec 2006 22:19:40 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=kQF4U5IY793CRJPDsJhsIL0u/H+FRwmaFyt/7UFfhl9cpkm/i9P0wajioOXXDCj44 sGAIYmpGzNBmHAypugiQA== Message-ID: <4576D15A.2070101@delphij.net> Date: Wed, 06 Dec 2006 22:19:06 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: "Marc G. Fournier" References: <4576A4F6.7070407@orchid.homeunix.org> <8194EEE8E22BA574C20015C8@ganymede.hub.org> In-Reply-To: <8194EEE8E22BA574C20015C8@ganymede.hub.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig021C8DF14C19623A78BB42F9" Cc: freebsd@orchid.homeunix.org, ports@freebsd.org, dd@freebsd.org Subject: Re: bsdstats 5.3 on 6-STABLE and netcat weirdness X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 14:19:56 -0000 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 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--