From owner-freebsd-ports Fri May 19 10:22:41 2000 Delivered-To: freebsd-ports@freebsd.org Received: from gw.nectar.com (gw.nectar.com [209.98.143.44]) by hub.freebsd.org (Postfix) with ESMTP id 6AF1437BF4C for ; Fri, 19 May 2000 10:22:37 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from bone.nectar.com (bone.nectar.com [10.0.1.105]) by gw.nectar.com (Postfix) with ESMTP id BD9B59B24; Fri, 19 May 2000 12:22:35 -0500 (CDT) Received: by bone.nectar.com (Postfix, from userid 1001) id 2BEEA1DAB; Fri, 19 May 2000 12:22:35 -0500 (CDT) Date: Fri, 19 May 2000 12:22:35 -0500 From: "Jacques A . Vidrine" To: Scott Blachowicz Cc: freebsd-ports@freebsd.org Subject: Re: KDE2: make install 'fails' ... Message-ID: <20000519122234.V96307@bone.nectar.com> Mail-Followup-To: "Jacques A . Vidrine" , Scott Blachowicz , freebsd-ports@freebsd.org References: <87ln16fqw6.fsf@sabmail.rresearch.com> <20000519113823.U96307@bone.nectar.com> <87hfbufp9r.fsf@sabmail.rresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <87hfbufp9r.fsf@sabmail.rresearch.com>; from scott@sabami.seaslug.org on Fri, May 19, 2000 at 10:01:04AM -0700 X-Url: http://www.nectar.com/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, May 19, 2000 at 10:01:04AM -0700, Scott Blachowicz wrote: > It seems that the mktemps() function doesn't exist on this system. No, it was introduced circa FreeBSD 3.4. > Suppose I can probably go find that mkstemps() function in the latest > FreeBSD sources...or just use the other branch of that #ifdef... Or update to FreeBSD 3-STABLE. > Is there any easy way to locate a function like this in the FreeBSD > sources (I don't have them on my system) and identify with __FreeBSD__ > value would likely correspond with the introduction of this function? __FreeBSD__ doesn't have a (meaningful) value. ITYM __FreeBSD_version. That is defined in src/sys/sys/param.h, so you could try: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h A look there shows that mkstemps is available when __FreeBSD_version >= 330002. (Thanks David!) -- Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message