From owner-freebsd-ports Tue Aug 6 07:09:06 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20202 for ports-outgoing; Tue, 6 Aug 1996 07:09:06 -0700 (PDT) Received: from grumble.grondar.za (grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA20175 for ; Tue, 6 Aug 1996 07:08:20 -0700 (PDT) Received: from grumble.grondar.za (mark@localhost.grondar.za [127.0.0.1]) by grumble.grondar.za (8.7.5/8.7.3) with ESMTP id PAA14488; Tue, 6 Aug 1996 15:46:36 +0200 (SAT) Message-Id: <199608061346.PAA14488@grumble.grondar.za> To: "Christoph P. Kukulies" cc: freebsd-ports@freefall.freebsd.org Subject: Re: syserrlist (how to define out) Date: Tue, 06 Aug 1996 15:46:35 +0200 From: Mark Murray Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Christoph P. Kukulies" wrote: > The porting section in the handbook says to use __FreeBSD__ sparsely. > So what would be the correct method to outcondition a > > extern char *sys_errlist[]; > > bogon? > > I was tempted to use #ifndef __FreeBSD__ but after reading the > porting recommendations I'm in doubt. The configure script of > the package I'm trying to port doesn't seem to detect and BSDism > so I don't have another symbol I can rely on unless I add one > one the Makefile or configure script. Take a look at how I did it in the patches of games/xboard. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key