Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 1998 23:31:15 -0600
From:      dannyman <djhoward@uiuc.edu>
To:        John Fieber <jfieber@indiana.edu>
Cc:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, julian@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: Netatalk port broken?
Message-ID:  <19980223233115.13191@urh.uiuc.edu>
In-Reply-To: <Pine.BSF.3.96.980224001312.5759D-100000@fallout.campusview.indiana.edu>; from John Fieber on Tue, Feb 24, 1998 at 12:17:56AM -0500
References:  <19980223231140.58014@urh.uiuc.edu> <Pine.BSF.3.96.980224001312.5759D-100000@fallout.campusview.indiana.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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