From owner-freebsd-chat Tue Jun 22 7:29: 4 1999 Delivered-To: freebsd-chat@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id DC2AB1533F; Tue, 22 Jun 1999 07:29:01 -0700 (PDT) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id KAA63305; Tue, 22 Jun 1999 10:29:02 -0400 (EDT) Date: Tue, 22 Jun 1999 10:29:02 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Eivind Eklund Cc: chat@freebsd.org Subject: Re: __FreeBSD_version hairsplitting [was Re: cvs commit: doc/en/handbook/ports chapter.sgml] In-Reply-To: <19990622112605.H81707@bitbox.follo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 22 Jun 1999, Eivind Eklund wrote: > [I'm moving this to -chat] > > On Mon, Jun 21, 1999 at 02:34:01PM -0400, Brian F. Feldman wrote: > > On Mon, 21 Jun 1999, Eivind Eklund wrote: > > > On Sun, Jun 20, 1999 at 08:03:45PM -0400, Brian F. Feldman wrote: > > > > But __FreeBSD_version is mainly for the ports system anyway! > > > > > > Disagree. __FreeBSD_version is mainly so any developer that maintain > > > something outside the FreeBSD tree can be able to make it work with > > > most versions of FreeBSD. In a way, it is a testimony to our > > > ineptness at creating and maintaining good APIs. > > > > The ports system is the collection of programs for FreeBSD; > > No. The ports system is infrastructure to easily build, install, and > uninstall a set[1] of programs for use under FreeBSD. This set is a > small subset of the complete set of programs that can run under > FreeBSD. Okay, I worded something terribly :) > > > how does that not use __FreeBSD_version? Ports do that. And most of > > the time, with any changes, it is not the API that changes but the > > ABI. > > There are other mechanisms than __FreeBSD_version for handling that. > __FreeBSD_version is for handling API differences; it is at source > level. Look at the latest pidentd port. How could that be done without __FreeBSD_\ version? I'm _NOT_ converting pidentd to *blech *autoconf. > > Eivind. > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message