From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 20:43:47 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56D10106566C; Tue, 12 Jul 2011 20:43:47 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E03B08FC19; Tue, 12 Jul 2011 20:43:46 +0000 (UTC) Received: by vxg33 with SMTP id 33so5174181vxg.13 for ; Tue, 12 Jul 2011 13:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=oMx++8YHMKhzrHZlmaU4Du0XlytsdDQa37vuiLJwCjU=; b=aX+C5tDD/JifDafnYzYyardxZZqepihpojCn1dx01CIQtu1bn++QPca4hRVNEAhPDh 7554uWaiw4QCwecVgcFUbhDo7uIO3S9feIfkHUx86nu7g9keKHdszh4Ord9halONDUEK wWrR7Z2Fa1ls2cGj1lw8IWm8vy1eSj+3SniY8= Received: by 10.52.22.11 with SMTP id z11mr390080vde.496.1310503425952; Tue, 12 Jul 2011 13:43:45 -0700 (PDT) Received: from kan.dnsalias.net (c-24-63-226-98.hsd1.ma.comcast.net [24.63.226.98]) by mx.google.com with ESMTPS id c9sm5172503vdv.16.2011.07.12.13.43.43 (version=SSLv3 cipher=OTHER); Tue, 12 Jul 2011 13:43:44 -0700 (PDT) Date: Tue, 12 Jul 2011 16:43:37 -0400 From: Alexander Kabaev To: Robert Millan Message-ID: <20110712164337.07e387eb@kan.dnsalias.net> In-Reply-To: References: X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/E70VSwE+9JiP5gRVx//pJ68"; protocol="application/pgp-signature" Cc: freebsd-hackers@freebsd.org, Ed, Maste , Oliver Pinter Subject: Re: [PATCH] fake pre-processor macros when building on non-FreeBSD system X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2011 20:43:47 -0000 --Sig_/E70VSwE+9JiP5gRVx//pJ68 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 12 Jul 2011 22:00:56 +0200 Robert Millan wrote: > 2011/7/12 Oliver Pinter : > > +.if ${OPSYS} !=3D "FreeBSD" > > > > and what's the status example on NetBSD? >=20 > I didn't think of it. There are some instances of __NetBSD__ and also > __OpenBSD__ in the kernel tree, and the same problem can be fixed for > these two systems with minimal effort. >=20 > Here's a new version of the patch, which also adds -U__NetBSD__ and > -U__OpenBSD__ to CFLAGS. >=20 > --=20 > Robert Millan Whatever happened to using a proper cross-tool to do the job? Why is this hack needed? --=20 Alexander Kabaev --Sig_/E70VSwE+9JiP5gRVx//pJ68 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iD8DBQFOHLH+Q6z1jMm+XZYRAsm5AKDO16/zGI2beKzgA3Zfh1xb+1qScgCeJabW 9fj5pdmv8riwJ5Dp4kd2MJU= =HDnc -----END PGP SIGNATURE----- --Sig_/E70VSwE+9JiP5gRVx//pJ68--