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

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

-john


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?Pine.BSF.3.96.980224001312.5759D-100000>