From owner-freebsd-ports Mon Feb 23 21:31:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA08390 for freebsd-ports-outgoing; Mon, 23 Feb 1998 21:31:23 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from arh0300.urh.uiuc.edu (arh0300.urh.uiuc.edu [130.126.72.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA08342; Mon, 23 Feb 1998 21:31:17 -0800 (PST) (envelope-from dannyman@arh0300.urh.uiuc.edu) Received: (from dannyman@localhost) by arh0300.urh.uiuc.edu (8.8.8/8.8.5) id XAA06306; Mon, 23 Feb 1998 23:31:15 -0600 (CST) Message-ID: <19980223233115.13191@urh.uiuc.edu> Date: Mon, 23 Feb 1998 23:31:15 -0600 From: dannyman To: John Fieber Cc: "Jordan K. Hubbard" , julian@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Netatalk port broken? References: <19980223231140.58014@urh.uiuc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from John Fieber on Tue, Feb 24, 1998 at 12:17:56AM -0500 X-Loop: djhoward@uiuc.edu X-URL: http://www.uiuc.edu/ph/www/djhoward/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Feb 24, 1998 at 12:17:56AM -0500, John Fieber wrote: > On Mon, 23 Feb 1998, dannyman wrote: > > > > ...or find some convenient thing you can test with an #ifdef in the > > > code and make new patch... > > > > suggestions? i'm a clueless newbie. i just know how to make and apply > > patches, not how to get a port to conditionally apply patch. (if i have > > time I may surf FreeBSD documentation though ... :D) > > The patch isn't conditionally applied, the code has preprocessor > conditionals in it based on some define either ferreted out of some include > that provides evidence of the FreeBSD version, or specified by a -D on the > command line compiling the file. > > See http://www.freebsd.org/handbook/porting.html for hints about checking > the freebsd version during compilation. In particular, the > __FreeBSD_version define would be appropriate here. AHHH! Are you suggesting then, that the code that the patch is derived from should compile conditionally? I'll try to take a look at it later this week! :) -- //Dan -=- This message brought to you by djhoward@uiuc.edu -=- \\/yori -=- Information - http://www.uiuc.edu/ph/www/djhoward/ -=- aiokomete -=- Our Honored Symbol deserves an Honorable Retirement To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message